diff --git a/packages/medusa/src/api/routes/admin/publishable-api-keys/add-channels-batch.ts b/packages/medusa/src/api/routes/admin/publishable-api-keys/add-channels-batch.ts index 7b29f22ce5..b86b73cc09 100644 --- a/packages/medusa/src/api/routes/admin/publishable-api-keys/add-channels-batch.ts +++ b/packages/medusa/src/api/routes/admin/publishable-api-keys/add-channels-batch.ts @@ -66,7 +66,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key" * - api_token: [] * - cookie_auth: [] * tags: - * - Publishable Api Key + * - PublishableApiKey * responses: * 200: * description: OK diff --git a/packages/medusa/src/api/routes/admin/publishable-api-keys/delete-channels-batch.ts b/packages/medusa/src/api/routes/admin/publishable-api-keys/delete-channels-batch.ts index b3a0da6c11..00950441e2 100644 --- a/packages/medusa/src/api/routes/admin/publishable-api-keys/delete-channels-batch.ts +++ b/packages/medusa/src/api/routes/admin/publishable-api-keys/delete-channels-batch.ts @@ -66,7 +66,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key" * - api_token: [] * - cookie_auth: [] * tags: - * - Publishable Api Key + * - PublishableApiKey * responses: * 200: * description: OK diff --git a/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-key-sales-channels.ts b/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-key-sales-channels.ts index 3e3ff40ab9..362816e4e5 100644 --- a/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-key-sales-channels.ts +++ b/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-key-sales-channels.ts @@ -3,11 +3,13 @@ import { Request, Response } from "express" import PublishableApiKeyService from "../../../../services/publishable-api-key" /** - * @oas [get] /publishable-api-keys/:id/sales-channels + * @oas [get] /publishable-api-keys/{id}/sales-channels * operationId: "GetPublishableApiKeySalesChannels" * summary: "List PublishableApiKey's SalesChannels" * description: "List PublishableApiKey's SalesChannels" * x-authenticated: true + * parameters: + * - (path) id=* {string} The ID of the Publishable Api Key. * x-codeSamples: * - lang: JavaScript * label: JS Client @@ -28,7 +30,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key" * - api_token: [] * - cookie_auth: [] * tags: - * - PublishableApiKeySalesChannels + * - PublishableApiKey * responses: * 200: * description: OK diff --git a/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts b/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts index e2930903d5..e5d1a78b76 100644 --- a/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts +++ b/packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts @@ -36,7 +36,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key" * - api_token: [] * - cookie_auth: [] * tags: - * - PublishableApiKeys + * - PublishableApiKey * responses: * 200: * description: OK