From c32107c6bf98ddfdf4288907e239b40871a306de Mon Sep 17 00:00:00 2001 From: Jatin Naik Date: Tue, 17 Sep 2024 23:19:12 +0100 Subject: [PATCH] fix: examples for 'Update existing integration' v1 api --- docs/.gitbook/assets/v1-api-spec.yaml | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/.gitbook/assets/v1-api-spec.yaml b/docs/.gitbook/assets/v1-api-spec.yaml index ae873f5ddcad..e39e1329eec3 100644 --- a/docs/.gitbook/assets/v1-api-spec.yaml +++ b/docs/.gitbook/assets/v1-api-spec.yaml @@ -1938,10 +1938,27 @@ paths: type: github broker: enabled: true - example: - type: github - broker: - enabled: true + examples: + setupExistingIntegration: + summary: Set up a broker for an existing integration + value: + type: github + broker: + enabled: true + updateCredentials: + summary: Update credentials for an existing non-brokered integration + value: + type: gitlab + credentials: + token: GITLAB_TOKEN + disableBroker: + summary: Disable broker for an existing integration + value: + type: github + broker: + enabled: false + credentials: + token: GITHUB_TOKEN required: true responses: '200':