Browse Source

refactor(nocodb): add BadRequest response

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
241774f777
  1. 30
      packages/nocodb/src/schema/swagger.json

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

@ -163,6 +163,9 @@
}
}
}
},
"400": {
"$ref": "#/components/responses/BadRequest"
}
},
"tags": ["Auth"],
@ -15724,6 +15727,33 @@
"examples": {}
}
}
},
"BadRequest": {
"description": "BadReqeust Example Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"msg": {
"type": "string",
"x-stoplight": {
"id": "p9mk4oi0hbihm"
},
"example": "BadRequest [Error]: <ERROR MESSAGE>"
}
}
},
"examples": {
"Example 1": {
"value": {
"msg": "BadRequest [Error]: <ERROR MESSAGE>"
}
}
}
}
},
"headers": {}
}
},
"securitySchemes": {

Loading…
Cancel
Save