From 51928ddb47b779928dd5dd5e75a08d7195000680 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Fri, 12 Apr 2024 02:15:11 +0200 Subject: [PATCH] Fix: OpenAPI doc descriptions structure --- backend/src/lib/api-docs/constants.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts index e005aee4c..90098a7b6 100644 --- a/backend/src/lib/api-docs/constants.ts +++ b/backend/src/lib/api-docs/constants.ts @@ -141,6 +141,12 @@ export const PROJECTS = { }, ROLLBACK_TO_SNAPSHOT: { secretSnapshotId: "The ID of the snapshot to rollback to." + }, + LIST_INTEGRATION: { + workspaceId: "The ID of the project to list integrations for." + }, + LIST_INTEGRATION_AUTHORIZATION: { + workspaceId: "The ID of the project to list integration auths for." } } as const; @@ -502,11 +508,8 @@ export const INTEGRATION_AUTH = { url: "", namespace: "", refreshToken: "The refresh token for integration authorization." - }, - LIST_AUTHORIZATION: { - workspaceId: "The ID of the project to list integration auths for." } -}; +} as const; export const INTEGRATION = { CREATE: { @@ -551,8 +554,5 @@ export const INTEGRATION = { }, DELETE: { integrationId: "The ID of the integration object." - }, - LIST_INTEGRATION: { - workspaceId: "The ID of the project to list integrations for." } };