Browse Source

fix(nocodb): swagger errors

pull/5253/head
Wing-Kam Wong 2 years ago
parent
commit
09c7068f78
  1. 64
      packages/nocodb/src/schema/swagger.json

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

@ -3425,7 +3425,6 @@
"lock_type": "collaborative",
"meta": {},
"order": 1,
"password": null,
"project_id": "p_xm3thidrblw4n7",
"show": 1,
"show_system_fields": null,
@ -6967,20 +6966,24 @@
"parameters": [
{
"schema": {
"type": "string"
"type": "string",
"example": "76d44b86-bc65-4500-8956-ab512c80ab25"
},
"name": "sharedViewUuid",
"in": "path",
"required": true
"required": true,
"description": "Shared View UUID"
},
{
"schema": {
"type": "string",
"enum": ["csv", "excel"]
"enum": ["csv", "excel"],
"example": "csv"
},
"name": "type",
"in": "path",
"required": true
"required": true,
"description": "Export Type"
}
],
"get": {
@ -9066,6 +9069,8 @@
"virtual": null
}
],
"title": "Column Model",
"type": "object",
"properties": {
"ai": {
"$ref": "#/components/schemas/Bool",
@ -9085,8 +9090,8 @@
"type": "string"
},
"cdf": {
"description": "Column Default",
"type": "string"
"$ref": "#/components/schemas/StringOrNull",
"description": "Column Default"
},
"clen": {
"description": "Character Maximum Length",
@ -9135,9 +9140,8 @@
"type": "string"
},
"csn": {
"description": "Character Set Name",
"example": "utf8mb4",
"type": "string"
"$ref": "#/components/schemas/StringOrNull",
"description": "Character Set Name"
},
"ct": {
"description": "Column Type",
@ -9308,9 +9312,7 @@
"$ref": "#/components/schemas/Bool",
"description": "Is Visible?"
}
},
"title": "Column Model",
"type": "object"
}
},
"ColumnList": {
"description": "Model for Column List",
@ -12642,20 +12644,18 @@
"password": "123456789"
}
],
"title": "Shared View Request Model",
"type": "object",
"properties": {
"meta": {
"$ref": "#/components/schemas/Meta",
"description": "Meta data passing to Shared View such as if download is allowed or not."
},
"password": {
"description": "Password to restrict access",
"example": "123456789",
"minLength": 8,
"type": "string"
"$ref": "#/components/schemas/StringOrNull",
"description": "Password to restrict access"
}
}
},
"title": "Shared View Request Model",
"type": "object"
},
"SignInReq": {
"description": "Model for Signin Request",
@ -13219,6 +13219,8 @@
]
}
],
"title": "Table Model",
"type": "object",
"properties": {
"base_id": {
"description": "Unique Base ID",
@ -13226,10 +13228,10 @@
},
"columns": {
"description": "The columns included in this table",
"type": "array",
"items": {
"$ref": "#/components/schemas/Column"
},
"type": "array"
}
},
"columnsById": {
"description": "Column Models grouped by IDs",
@ -13271,8 +13273,8 @@
"type": "string"
},
"tags": {
"description": "Currently not in use",
"type": "string"
"$ref": "#/components/schemas/StringOrNull",
"description": "Currently not in use"
},
"title": {
"description": "Table Title",
@ -13283,9 +13285,7 @@
"type": "string"
}
},
"required": ["table_name", "title"],
"title": "Table Model",
"type": "object"
"required": ["table_name", "title"]
},
"TableList": {
"description": "Model for Table List",
@ -13747,6 +13747,8 @@
}
}
],
"title": "View Model",
"type": "object",
"properties": {
"base_id": {
"$ref": "#/components/schemas/Id",
@ -13798,8 +13800,8 @@
"type": "number"
},
"uuid": {
"description": "UUID of the view",
"type": "string"
"$ref": "#/components/schemas/StringOrNull",
"description": "UUID of the view"
},
"view": {
"anyOf": [
@ -13822,9 +13824,7 @@
"description": "Associated View Model"
}
},
"required": ["fk_model_id", "show", "title", "type"],
"title": "View Model",
"type": "object"
"required": ["fk_model_id", "show", "title", "type"]
},
"ViewList": {
"description": "Model for View List",

Loading…
Cancel
Save