Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix: OpenAPI doc descriptions structure

Daniel Hougaard51928ddb47b7
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts
index e005aee4cd..90098a7b65 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."
}
};