Browse Source

refactor(nocodb): Paginated Model

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
b7db0d4e98
  1. 35
      packages/nocodb/src/schema/swagger.json

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

@ -9342,37 +9342,32 @@
"Paginated": {
"title": "Paginated Model",
"type": "object",
"description": "Model for Paginated",
"properties": {
"pageSize": {
"type": "integer"
"type": "number",
"description": "The number of pages",
"example": 10
},
"totalRows": {
"type": "integer"
},
"sort": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"$ref": "#/components/schemas/Sort"
}
}
]
"type": "number",
"description": "The number of rows in the given result",
"example": 1
},
"isFirstPage": {
"type": "boolean"
"type": "boolean",
"description": "Is the current page the first page"
},
"isLastPage": {
"type": "boolean"
"type": "boolean",
"description": "Is the current page the last page"
},
"page": {
"type": "number"
"type": "number",
"description": "The current page",
"example": 1
}
},
"description": "Model for Paginated"
}
},
"HookList": {
"description": "Model for Hook List",

Loading…
Cancel
Save