Browse Source

fix: add missing schema

pull/6982/head
Pranav C 1 year ago
parent
commit
12285ee70c
  1. 34
      packages/nocodb/src/services/api-docs/swaggerV2/swagger-base.json

34
packages/nocodb/src/services/api-docs/swaggerV2/swagger-base.json

@ -10,7 +10,7 @@
} }
], ],
"paths": { "paths": {
}, },a¯¯¯¯
"components": { "components": {
"schemas": { "schemas": {
"Paginated": { "Paginated": {
@ -83,6 +83,38 @@
"name": "xc-token", "name": "xc-token",
"description": "API token" "description": "API token"
} }
},
"responses": {
"BadRequest": {
"description": "BadReqeust",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"msg": {
"type": "string",
"x-stoplight": {
"id": "p9mk4oi0hbihm"
},
"example": "BadRequest [Error]: <ERROR MESSAGE>"
}
},
"required": [
"msg"
]
},
"examples": {
"Example 1": {
"value": {
"msg": "BadRequest [Error]: <ERROR MESSAGE>"
}
}
}
}
},
"headers": {}
}
} }
}, },
"security": [ "security": [

Loading…
Cancel
Save