Browse Source

refactor(nocodb): add column req

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

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

@ -3107,7 +3107,6 @@
"clen": "45",
"column_name": "title",
"cop": "2",
"created_at": "2023-03-02 13:14:16",
"csn": "utf8mb4",
"ct": "varchar(45)",
"deleted": null,
@ -3130,7 +3129,6 @@
"uidt": "SingleLineText",
"un": 0,
"unique": 0,
"updated_at": "2023-03-02 13:14:16",
"validate": null,
"virtual": null
}
@ -3553,7 +3551,47 @@
"requestBody": {
"content": {
"application/json": {
"schema": {}
"schema": {
"$ref": "#/components/schemas/ColumnReq"
},
"examples": {
"Example 1": {
"value": {
"ai": 0,
"au": 0,
"base_id": "ds_krsappzu9f8vmo",
"cc": "",
"cdf": null,
"clen": "45",
"column_name": "title",
"cop": "2",
"csn": "utf8mb4",
"ct": "varchar(45)",
"deleted": null,
"dt": "varchar",
"dtx": "specificType",
"dtxp": "45",
"dtxs": null,
"fk_model_id": "md_yvwvbt2i78rgcm",
"id": "cl_0j9gv0oi8vjy46",
"meta": null,
"np": null,
"ns": null,
"order": 2,
"pk": 0,
"project_id": "p_01clqvzik3izk6",
"pv": 1,
"rqd": 0,
"system": 0,
"title": "Title",
"uidt": "SingleLineText",
"un": 0,
"unique": 0,
"validate": null,
"virtual": null
}
}
}
}
}
},
@ -3594,7 +3632,9 @@
"requestBody": {
"content": {
"application/json": {
"schema": {}
"schema": {
"$ref": "#/components/schemas/ColumnReq"
}
}
}
},

Loading…
Cancel
Save