Browse Source

chore(swagger): provide required as an array

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3564/head
Pranav C 2 years ago
parent
commit
20eef38acb
  1. 13
      scripts/sdk/swagger.json

13
scripts/sdk/swagger.json

@ -5821,9 +5821,6 @@
"pageInfo": { "pageInfo": {
"$ref": "#/components/schemas/Paginated" "$ref": "#/components/schemas/Paginated"
} }
},
"": {
"type": "string"
} }
}, },
"Base": { "Base": {
@ -6148,8 +6145,7 @@
"type": "string" "type": "string"
}, },
"title": { "title": {
"type": "string", "type": "string"
"required": true
}, },
"deleted": { "deleted": {
"type": "boolean" "type": "boolean"
@ -6193,7 +6189,8 @@
} }
] ]
} }
} },
"required": ["title"]
}, },
"TableInfo": { "TableInfo": {
"title": "Table", "title": "Table",
@ -6981,10 +6978,12 @@
"properties": { "properties": {
"options": { "options": {
"type": "array", "type": "array",
"required": true,
"$ref": "#/components/schemas/SelectOption" "$ref": "#/components/schemas/SelectOption"
} }
}, },
"required": [
"options"
],
"examples": [ "examples": [
{ {
"options": [ "options": [

Loading…
Cancel
Save