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": {
"type": "object",
"properties": {
"plugins": {
"data": {
"type": "object",
"properties": {
"list": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"items": {
"$ref": "#/components/schemas/Plugin"
}
"x-stoplight": {
"id": "qifsikf69hqbl"
},
"pageInfo": {
"$ref": "#/components/schemas/Paginated"
"description": "Sample Payload Data"
}
}
},
"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