Skip to content

Commit 297096d

Browse files
seantleonardabhishekkumamsAniruddh25
authored
[CherryPick] Update dab.draft.schema.json (#1782) (#1837)
Cherry pick #1782 to 0.9 branch. ## Why make this change? - Currently our config and schema file had some differences, which is why even the config we support was showing to contain errors. ## What is this change? - updating schema to reflect the correct supported config file. ## How was this tested? - Online Tool: https://www.jsonschemavalidator.net/ ## Screenshots ### Before ![image](https://github.com/Azure/data-api-builder/assets/102276754/77664442-ba43-4e75-ad79-728a51686b10) ### After ![image](https://github.com/Azure/data-api-builder/assets/102276754/ff1c2873-fddc-4340-ac06-7aa90ac636cc) --------- ## Why make this change? - Reference associated issue using `#` syntax. e.g. Closes #XX - Include summary (1-2 sentences) of linked issue to avoid redirecting reviewers to different pages. - Include links to any additional discussion threads related to this change. ## What is this change? - Summary of how your changes work to give reviewers context of your intent. - Links to relevant documentation / StackOverflow, if applicable. ## How was this tested? - [ ] Integration Tests - [ ] Unit Tests ## Sample Request(s) - Example REST and/or GraphQL request to demonstrate modifications - Example of CLI usage to demonstrate modifications Co-authored-by: Abhishek Kumar <[email protected]> Co-authored-by: Aniruddh Munde <[email protected]>
1 parent f3c3ca0 commit 297096d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

schemas/dab.draft.schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,11 @@
320320
"required": [
321321
"methods"
322322
]
323+
},
324+
{
325+
"required": [
326+
"enabled"
327+
]
323328
}
324329
]
325330
}
@@ -359,6 +364,11 @@
359364
"required": [
360365
"operation"
361366
]
367+
},
368+
{
369+
"required": [
370+
"enabled"
371+
]
362372
}
363373
]
364374
}

0 commit comments

Comments
 (0)