From d058bb05698319b383ec794a72ffe6083495deee Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 7 Mar 2022 16:41:22 +0000 Subject: [PATCH] Removing org ID from cloud spec. --- packages/server/specs/generate.js | 8 +------- packages/server/specs/openapi.json | 10 ++-------- packages/server/specs/openapi.yaml | 6 +----- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/packages/server/specs/generate.js b/packages/server/specs/generate.js index 97a2abb71c..f6a055f683 100644 --- a/packages/server/specs/generate.js +++ b/packages/server/specs/generate.js @@ -17,14 +17,8 @@ const options = { }, servers: [ { - url: "https://{organisationId}.budibase.app/api/public/v1", + url: "https://budibase.app/api/public/v1", description: "Budibase Cloud API", - variables: { - organisationId: { - default: "organisation", - description: "The organisation you are attempting to access.", - }, - }, }, { url: "{protocol}://{hostname}/api/public/v1", diff --git a/packages/server/specs/openapi.json b/packages/server/specs/openapi.json index 00f69f2815..229c82230f 100644 --- a/packages/server/specs/openapi.json +++ b/packages/server/specs/openapi.json @@ -7,14 +7,8 @@ }, "servers": [ { - "url": "https://{organisationId}.budibase.app/api/public/v1", - "description": "Budibase Cloud API", - "variables": { - "organisationId": { - "default": "organisation", - "description": "The organisation you are attempting to access." - } - } + "url": "https://budibase.app/api/public/v1", + "description": "Budibase Cloud API" }, { "url": "{protocol}://{hostname}/api/public/v1", diff --git a/packages/server/specs/openapi.yaml b/packages/server/specs/openapi.yaml index 5decd65f6d..6dd1607ae8 100644 --- a/packages/server/specs/openapi.yaml +++ b/packages/server/specs/openapi.yaml @@ -4,12 +4,8 @@ info: description: The public API for Budibase apps and its services. version: 1.0.0 servers: - - url: https://{organisationId}.budibase.app/api/public/v1 + - url: https://budibase.app/api/public/v1 description: Budibase Cloud API - variables: - organisationId: - default: organisation - description: The organisation you are attempting to access. - url: "{protocol}://{hostname}/api/public/v1" description: Budibase self hosted API variables: