From fd5f175e82cb5f513e77f207bba8ed43b872e96f Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:14:15 +0000 Subject: [PATCH] fix(nocodb): add customUrl model type in oss --- packages/nocodb/src/schema/swagger.json | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index 8e49363a44..306dfc86a0 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -27397,6 +27397,40 @@ "ButtonActions": { "type": "string", "enum": ["webhook", "url", "ai"] + }, + "CustomUrl": { + "description": "Model for Custom Url", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Id associated to the Custom url" + }, + "fk_workspace_id": { + "type": "string", + "description": "Workspace ID" + }, + "base_id": { + "type": "string", + "description": "Base ID" + }, + "fk_model_id": { + "type": "string", + "description": "Model ID" + }, + "view_id": { + "type": "string", + "description": "View ID" + }, + "original_path": { + "type": "string", + "description": "Original url used for redirection purpose" + }, + "custom_path": { + "type": "string", + "description": "Custom url path" + } + } } }, "responses": {