docs: fix OAS comments in publishable api keys (#2796)

This commit is contained in:
Shahed Nasser
2022-12-14 12:29:39 +02:00
committed by GitHub
parent e79794ea92
commit 49383c0cbd
4 changed files with 7 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
* - api_token: []
* - cookie_auth: []
* tags:
* - Publishable Api Key
* - PublishableApiKey
* responses:
* 200:
* description: OK

View File

@@ -66,7 +66,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
* - api_token: []
* - cookie_auth: []
* tags:
* - Publishable Api Key
* - PublishableApiKey
* responses:
* 200:
* description: OK

View File

@@ -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

View File

@@ -36,7 +36,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
* - api_token: []
* - cookie_auth: []
* tags:
* - PublishableApiKeys
* - PublishableApiKey
* responses:
* 200:
* description: OK