Skip to content

Commit a30747a

Browse files
committed
Update configuration schema for Steeltoe v4.1
1 parent b106f3c commit a30747a

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

src/Steeltoe.io/wwwroot/schema/latest/schema.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
},
215215
"Scheme": {
216216
"type": "string",
217-
"description": "Gets or sets the scheme to register the running app with (\"http\" or \"https\"). Default value: http."
217+
"description": "Gets or sets the scheme to register the running app with (\"http\" or \"https\")."
218218
},
219219
"ServiceName": {
220220
"type": "string",
@@ -1233,9 +1233,13 @@
12331233
"SerializerOptions": {
12341234
"type": "object",
12351235
"properties": {
1236+
"AllowDuplicateProperties": {
1237+
"type": "boolean",
1238+
"description": "Gets or sets a value that indicates whether duplicate property names are allowed when deserializing JSON objects."
1239+
},
12361240
"AllowOutOfOrderMetadataProperties": {
12371241
"type": "boolean",
1238-
"description": "Allows JSON metadata properties to be specified after regular properties in a deserialized JSON object."
1242+
"description": "Gets or sets a value that indicates whether JSON metadata properties can be specified after regular properties in a deserialized JSON object."
12391243
},
12401244
"AllowTrailingCommas": {
12411245
"type": "boolean",
@@ -1250,7 +1254,9 @@
12501254
"Never",
12511255
"Always",
12521256
"WhenWritingDefault",
1253-
"WhenWritingNull"
1257+
"WhenWritingNull",
1258+
"WhenWriting",
1259+
"WhenReading"
12541260
],
12551261
"description": "Gets or sets a value that determines when properties with default values are ignored during serialization or deserialization. The default value is 'System.Text.Json.Serialization.JsonIgnoreCondition.Never'."
12561262
},

src/Steeltoe.io/wwwroot/schema/v4/schema.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
},
215215
"Scheme": {
216216
"type": "string",
217-
"description": "Gets or sets the scheme to register the running app with (\"http\" or \"https\"). Default value: http."
217+
"description": "Gets or sets the scheme to register the running app with (\"http\" or \"https\")."
218218
},
219219
"ServiceName": {
220220
"type": "string",
@@ -1233,9 +1233,13 @@
12331233
"SerializerOptions": {
12341234
"type": "object",
12351235
"properties": {
1236+
"AllowDuplicateProperties": {
1237+
"type": "boolean",
1238+
"description": "Gets or sets a value that indicates whether duplicate property names are allowed when deserializing JSON objects."
1239+
},
12361240
"AllowOutOfOrderMetadataProperties": {
12371241
"type": "boolean",
1238-
"description": "Allows JSON metadata properties to be specified after regular properties in a deserialized JSON object."
1242+
"description": "Gets or sets a value that indicates whether JSON metadata properties can be specified after regular properties in a deserialized JSON object."
12391243
},
12401244
"AllowTrailingCommas": {
12411245
"type": "boolean",
@@ -1250,7 +1254,9 @@
12501254
"Never",
12511255
"Always",
12521256
"WhenWritingDefault",
1253-
"WhenWritingNull"
1257+
"WhenWritingNull",
1258+
"WhenWriting",
1259+
"WhenReading"
12541260
],
12551261
"description": "Gets or sets a value that determines when properties with default values are ignored during serialization or deserialization. The default value is 'System.Text.Json.Serialization.JsonIgnoreCondition.Never'."
12561262
},

0 commit comments

Comments
 (0)