From de5639e31bbdd051b84739c447483bab1a977500 Mon Sep 17 00:00:00 2001 From: Juan Treminio <50673996+jtreminio-dropbox@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:33:41 -0600 Subject: [PATCH 1/2] =?UTF-8?q?Remove=20client=5Fid,=20client=5Fsecret=20f?= =?UTF-8?q?rom=20OAuthTokenRefreshRequest=20in=20docs=E2=80=A6=20(#453)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi-raw.yaml | 2 ++ openapi-sdk.yaml | 2 ++ openapi.yaml | 6 ------ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/openapi-raw.yaml b/openapi-raw.yaml index 4920f55a7..4ae39fbd7 100644 --- a/openapi-raw.yaml +++ b/openapi-raw.yaml @@ -7881,9 +7881,11 @@ components: client_id: description: '_t__OAuthTokenRefresh::CLIENT_ID' type: string + x-hideOn: doc client_secret: description: '_t__OAuthTokenRefresh::CLIENT_SECRET' type: string + x-hideOn: doc type: object ReportCreateRequest: required: diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index fe81aca41..2e03e5471 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -7975,9 +7975,11 @@ components: client_id: description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' type: string + x-hideOn: doc client_secret: description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' type: string + x-hideOn: doc type: object ReportCreateRequest: required: diff --git a/openapi.yaml b/openapi.yaml index e49cd747a..6ef2c7d7b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7972,12 +7972,6 @@ components: refresh_token: description: 'The token provided when you got the expired access token.' type: string - client_id: - description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' - type: string - client_secret: - description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' - type: string type: object ReportCreateRequest: required: From 8e5abb1bd196544e6ca9b1ebde76cc2833872efd Mon Sep 17 00:00:00 2001 From: Juan Treminio <50673996+jtreminio-dropbox@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:23:20 -0600 Subject: [PATCH 2/2] unhide client id and client secret from open api spec (#456) (#457) Co-authored-by: Sainish Momin <130490494+sainishm2@users.noreply.github.com> --- openapi-raw.yaml | 2 -- openapi-sdk.yaml | 2 -- openapi.yaml | 6 ++++++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/openapi-raw.yaml b/openapi-raw.yaml index 4ae39fbd7..4920f55a7 100644 --- a/openapi-raw.yaml +++ b/openapi-raw.yaml @@ -7881,11 +7881,9 @@ components: client_id: description: '_t__OAuthTokenRefresh::CLIENT_ID' type: string - x-hideOn: doc client_secret: description: '_t__OAuthTokenRefresh::CLIENT_SECRET' type: string - x-hideOn: doc type: object ReportCreateRequest: required: diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index 2e03e5471..fe81aca41 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -7975,11 +7975,9 @@ components: client_id: description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' type: string - x-hideOn: doc client_secret: description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' type: string - x-hideOn: doc type: object ReportCreateRequest: required: diff --git a/openapi.yaml b/openapi.yaml index 6ef2c7d7b..e49cd747a 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7972,6 +7972,12 @@ components: refresh_token: description: 'The token provided when you got the expired access token.' type: string + client_id: + description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' + type: string + client_secret: + description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.' + type: string type: object ReportCreateRequest: required: