Skip to content

Commit 93edc20

Browse files
Missing/Invalid Default Value (Group 4) (#3454)
## Why make this change? Parent issue #3466 Closes #3366 — `runtime.rest.enabled` has no `default` in the JSON schema Closes #3367 — `runtime.graphql.enabled` has no `default` in the JSON schema These schema properties were missing an explicit `default` value. 5 of 7 Group 4 issues (#3378#3382) were already fixed in PR #3417 as Group 2 overlaps. ## What is this change? Adds `"default": true` to the `enabled` property under both `runtime.rest` and `runtime.graphql` in `schemas/dab.draft.schema.json`. This matches the C# runtime behavior where both REST and GraphQL are enabled by default. ## How was this tested? Schema-only metadata change — no runtime behavior affected. Validated that the schema still passes JSON Schema draft-07 validation. ## Sample Request(s) NA
1 parent 2e8c21d commit 93edc20

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

schemas/dab.draft.schema.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@
212212
},
213213
"enabled": {
214214
"$ref": "#/$defs/boolean-or-string",
215-
"description": "Allow enabling/disabling REST requests for all entities."
215+
"description": "Allow enabling/disabling REST requests for all entities.",
216+
"default": true
216217
},
217218
"request-body-strict": {
218219
"$ref": "#/$defs/boolean-or-string",
@@ -237,7 +238,8 @@
237238
},
238239
"enabled": {
239240
"$ref": "#/$defs/boolean-or-string",
240-
"description": "Allow enabling/disabling GraphQL requests for all entities."
241+
"description": "Allow enabling/disabling GraphQL requests for all entities.",
242+
"default": true
241243
},
242244
"depth-limit": {
243245
"type": [ "integer", "null" ],

0 commit comments

Comments
 (0)