From 84aa97312babd14f631d1e226a0782ef80606d61 Mon Sep 17 00:00:00 2001 From: "Mert E." Date: Tue, 27 Aug 2024 18:34:56 +0300 Subject: [PATCH] fix: remove deprecated apis from swagger (#9353) --- packages/nocodb/src/schema/swagger-v2.json | 83 ---------------------- packages/nocodb/src/schema/swagger.json | 83 ---------------------- 2 files changed, 166 deletions(-) diff --git a/packages/nocodb/src/schema/swagger-v2.json b/packages/nocodb/src/schema/swagger-v2.json index e9bbfa7bdc..356d91586c 100644 --- a/packages/nocodb/src/schema/swagger-v2.json +++ b/packages/nocodb/src/schema/swagger-v2.json @@ -1391,63 +1391,6 @@ ] } }, - "/api/v2/meta/bases/:baseId/sources/:sourceId/sqlView": { - "parameters": [ - { - "schema": { - "type": "string" - }, - "name": "baseId", - "in": "path", - "required": true - }, - { - "schema": { - "type": "string" - }, - "name": "sourceId", - "in": "path", - "required": true - } - ], - "post": { - "summary": "Create sql view", - "operationId": "create-sql-view", - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - } - }, - "tags": [ - "Source" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "view_name": { - "type": "string" - }, - "view_definition": { - "type": "string" - } - } - } - } - } - } - } - }, "/api/v2/meta/bases/{baseId}/sources/": { "parameters": [ { @@ -10230,32 +10173,6 @@ ] } }, - "/api/v2/meta/connection/select": { - "parameters": [], - "post": { - "summary": "", - "operationId": "utils-select-query", - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": {} - } - } - } - }, - "tags": [ - "Utils" - ], - "requestBody": { - "content": { - "application/json": {} - } - }, - "description": "" - } - }, "/api/v2/meta/nocodb/info": { "parameters": [ { diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index 939a8a3baf..b86fc4f94b 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -3013,63 +3013,6 @@ ] } }, - "/api/v1/db/meta/projects/:baseId/bases/:sourceId/sqlView": { - "parameters": [ - { - "schema": { - "type": "string" - }, - "name": "baseId", - "in": "path", - "required": true - }, - { - "schema": { - "type": "string" - }, - "name": "sourceId", - "in": "path", - "required": true - } - ], - "post": { - "summary": "Create sql view", - "operationId": "create-sql-view", - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - } - }, - "tags": [ - "Source" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "view_name": { - "type": "string" - }, - "view_definition": { - "type": "string" - } - } - } - } - } - } - } - }, "/api/v1/db/meta/projects/{baseId}/bases/": { "parameters": [ { @@ -15606,32 +15549,6 @@ ] } }, - "/api/v1/db/meta/connection/select": { - "parameters": [], - "post": { - "summary": "", - "operationId": "utils-select-query", - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": {} - } - } - } - }, - "tags": [ - "Utils" - ], - "requestBody": { - "content": { - "application/json": {} - } - }, - "description": "" - } - }, "/api/v1/url_to_config": { "parameters": [ {