diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index 1311718842..3e3866393a 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -12891,36 +12891,63 @@ "description": "Model for View Request", "examples": [ { + "title": "Grid View 1", + "uuid": "e2457bbf-e29c-4fec-866e-fe3b01dba57f", + "password": "password123", "lock_type": "collaborative", - "meta": {}, - "order": 0, - "show_system_fields": true, - "title": "string" + "meta": "{\"allowCSVDownload\":true}", + "order": 1, + "show_system_fields": 0 } ], + "title": "View Request Model", + "type": "object", "properties": { + "title": { + "maxLength": 255, + "type": "string", + "description": "View Title", + "example": "Grid View 1" + }, + "uuid": { + "maxLength": 255, + "type": "string", + "x-stoplight": { + "id": "vlhs7xs644u8l" + }, + "description": "View UUID. Used in Shared View.", + "example": "e2457bbf-e29c-4fec-866e-fe3b01dba57f" + }, + "password": { + "maxLength": 255, + "type": "string", + "x-stoplight": { + "id": "vlhs7xs644u8l" + }, + "description": "View Password. Used in Shared View.", + "example": "password123" + }, "lock_type": { "enum": ["collaborative", "locked", "personal"], - "type": "string" + "type": "string", + "description": "Lock type of View.", + "example": "collaborative" }, "meta": { - "$ref": "#/components/schemas/Meta" + "$ref": "#/components/schemas/Meta", + "description": "Meta info used in View." }, "order": { - "exclusiveMinimum": true, - "minimum": 0, - "type": "number" + "type": "number", + "description": "The order of the list of views.", + "example": 1, + "minimum": 0 }, "show_system_fields": { - "$ref": "#/components/schemas/Bool" - }, - "title": { - "maxLength": 255, - "type": "string" + "$ref": "#/components/schemas/Bool", + "description": "Should this view show system fields?" } - }, - "title": "View Request Model", - "type": "object" + } }, "VisibilityRuleReq": { "description": "Model for Visibility Rule Request",