From c778dedf3b416d9f472f54c596146cc7316bb6f6 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 4 Mar 2023 12:16:32 +0800 Subject: [PATCH] refactor(nocodb): project user model in swagger.json --- packages/nocodb/src/schema/swagger.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index bde32db966..4acff4ffd1 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -11270,19 +11270,21 @@ "roles": "owner" } ], + "title": "Project User Request Model", + "type": "object", "properties": { "email": { "format": "email", - "type": "string" + "type": "string", + "description": "Project User Email" }, "roles": { "enum": ["commenter", "editor", "guest", "owner", "viewer"], - "type": "string" + "type": "string", + "description": "Project User Role" } }, - "required": ["email", "roles"], - "title": "Project User Request Model", - "type": "object" + "required": ["email", "roles"] }, "Rollup": { "description": "Model for Rollup",