Browse Source

refactor(nocodb): correct sample payload response and example

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
93f3a583e4
  1. 26
      packages/nocodb/src/schema/swagger.json

26
packages/nocodb/src/schema/swagger.json

@ -11111,22 +11111,24 @@
"schema": { "schema": {
"type": "object", "type": "object",
"properties": { "properties": {
"plugins": { "data": {
"type": "object", "type": "object",
"properties": { "x-stoplight": {
"list": { "id": "qifsikf69hqbl"
"type": "array",
"uniqueItems": true,
"minItems": 1,
"items": {
"$ref": "#/components/schemas/Plugin"
}
}, },
"pageInfo": { "description": "Sample Payload Data"
"$ref": "#/components/schemas/Paginated" }
} }
}, },
"required": ["list", "pageInfo"] "examples": {
"Example 1": {
"value": {
"data": {
"Id": 1,
"Title": "Sample Text",
"CreatedAt": "2023-03-13T04:59:49.363Z",
"UpdatedAt": "2023-03-13T04:59:49.363Z"
}
} }
} }
} }

Loading…
Cancel
Save