docs: shortened summaries in API reference (#2902)

This commit is contained in:
Shahed Nasser
2022-12-26 18:09:22 +02:00
committed by GitHub
parent 035790606e
commit 1f1b85afbb
30 changed files with 36 additions and 36 deletions
@@ -12,7 +12,7 @@ import { FindParams } from "../../../../types/common"
/** /**
* @oas [post] /discounts/{discount_id}/conditions/{condition_id}/batch * @oas [post] /discounts/{discount_id}/conditions/{condition_id}/batch
* operationId: "PostDiscountsDiscountConditionsConditionBatch" * operationId: "PostDiscountsDiscountConditionsConditionBatch"
* summary: "Add a batch of resources to a discount condition" * summary: "Add Batch Resources"
* description: "Add a batch of resources to a discount condition." * description: "Add a batch of resources to a discount condition."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -11,7 +11,7 @@ import { FindParams } from "../../../../types/common"
/** /**
* @oas [delete] /discounts/{discount_id}/conditions/{condition_id}/batch * @oas [delete] /discounts/{discount_id}/conditions/{condition_id}/batch
* operationId: "DeleteDiscountsDiscountConditionsConditionBatch" * operationId: "DeleteDiscountsDiscountConditionsConditionBatch"
* summary: "Delete a batch of resources from a discount condition" * summary: "Delete Batch Resources"
* description: "Delete a batch of resources from a discount condition." * description: "Delete a batch of resources from a discount condition."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -11,7 +11,7 @@ import {
/** /**
* @oas [post] /order-edits/{id}/items * @oas [post] /order-edits/{id}/items
* operationId: "PostOrderEditsEditLineItems" * operationId: "PostOrderEditsEditLineItems"
* summary: "Add an line item to an order (edit)" * summary: "Add a Line Item"
* description: "Create an OrderEdit LineItem." * description: "Create an OrderEdit LineItem."
* parameters: * parameters:
* - (path) id=* {string} The ID of the Order Edit. * - (path) id=* {string} The ID of the Order Edit.
@@ -9,7 +9,7 @@ import {
/** /**
* @oas [delete] /order-edits/{id}/items/{item_id} * @oas [delete] /order-edits/{id}/items/{item_id}
* operationId: "DeleteOrderEditsOrderEditLineItemsLineItem" * operationId: "DeleteOrderEditsOrderEditLineItemsLineItem"
* summary: "Delete line items from an order edit and create change item" * summary: "Delete a Line Item"
* description: "Delete line items from an order edit and create change item" * description: "Delete line items from an order edit and create change item"
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -5,7 +5,7 @@ import { OrderEditService } from "../../../../services"
* @oas [delete] /order-edits/{id} * @oas [delete] /order-edits/{id}
* operationId: "DeleteOrderEditsOrderEdit" * operationId: "DeleteOrderEditsOrderEdit"
* summary: "Delete an Order Edit" * summary: "Delete an Order Edit"
* description: "Deletes an Order Edit" * description: "Delete an Order Edit"
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
* - (path) id=* {string} The ID of the Order Edit to delete. * - (path) id=* {string} The ID of the Order Edit to delete.
@@ -5,7 +5,7 @@ import { FindParams } from "../../../../types/common"
/** /**
* @oas [get] /order-edits/{id} * @oas [get] /order-edits/{id}
* operationId: "GetOrderEditsOrderEdit" * operationId: "GetOrderEditsOrderEdit"
* summary: "Retrieve an OrderEdit" * summary: "Get an OrderEdit"
* description: "Retrieves a OrderEdit." * description: "Retrieves a OrderEdit."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -14,7 +14,7 @@ import { PaymentCollectionType } from "../../../../models"
/** /**
* @oas [post] /order-edits/{id}/request * @oas [post] /order-edits/{id}/request
* operationId: "PostOrderEditsOrderEditRequest" * operationId: "PostOrderEditsOrderEditRequest"
* summary: "Request order edit confirmation" * summary: "Request Confirmation"
* description: "Request customer confirmation of an Order Edit" * description: "Request customer confirmation of an Order Edit"
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -10,7 +10,7 @@ import {
/** /**
* @oas [post] /order-edits/{id}/items/{item_id} * @oas [post] /order-edits/{id}/items/{item_id}
* operationId: "PostOrderEditsEditLineItemsLineItem" * operationId: "PostOrderEditsEditLineItemsLineItem"
* summary: "Create or update the order edit change holding the line item changes" * summary: "Upsert Line Item Change"
* description: "Create or update the order edit change holding the line item changes" * description: "Create or update the order edit change holding the line item changes"
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -11,7 +11,7 @@ import {
/** /**
* @oas [post] /order-edits/{id} * @oas [post] /order-edits/{id}
* operationId: "PostOrderEditsOrderEdit" * operationId: "PostOrderEditsOrderEdit"
* summary: "Updates an OrderEdit" * summary: "Update an OrderEdit"
* description: "Updates a OrderEdit." * description: "Updates a OrderEdit."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -3,7 +3,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [delete] /payment-collections/{id} * @oas [delete] /payment-collections/{id}
* operationId: "DeletePaymentCollectionsPaymentCollection" * operationId: "DeletePaymentCollectionsPaymentCollection"
* summary: "Delete a Payment Collection" * summary: "Del a PaymentCollection"
* description: "Deletes a Payment Collection" * description: "Deletes a Payment Collection"
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -4,7 +4,7 @@ import { FindParams } from "../../../../types/common"
/** /**
* @oas [get] /payment-collections/{id} * @oas [get] /payment-collections/{id}
* operationId: "GetPaymentCollectionsPaymentCollection" * operationId: "GetPaymentCollectionsPaymentCollection"
* summary: "Retrieve an PaymentCollection" * summary: "Get a PaymentCollection"
* description: "Retrieves a PaymentCollection." * description: "Retrieves a PaymentCollection."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -4,7 +4,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [post] /payment-collections/{id}/authorize * @oas [post] /payment-collections/{id}/authorize
* operationId: "PostPaymentCollectionsPaymentCollectionAuthorize" * operationId: "PostPaymentCollectionsPaymentCollectionAuthorize"
* summary: "Set the status of PaymentCollection as Authorized" * summary: "Mark Authorized"
* description: "Sets the status of PaymentCollection as Authorized." * description: "Sets the status of PaymentCollection as Authorized."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -6,7 +6,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [post] /payment-collections/{id} * @oas [post] /payment-collections/{id}
* operationId: "PostPaymentCollectionsPaymentCollection" * operationId: "PostPaymentCollectionsPaymentCollection"
* summary: "Updates a PaymentCollection" * summary: "Update PaymentCollection"
* description: "Updates a PaymentCollection." * description: "Updates a PaymentCollection."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -9,7 +9,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
/** /**
* @oas [post] /publishable-api-keys/{id}/sales-channels/batch * @oas [post] /publishable-api-keys/{id}/sales-channels/batch
* operationId: "PostPublishableApiKeySalesChannelsChannelsBatch" * operationId: "PostPublishableApiKeySalesChannelsChannelsBatch"
* summary: "Add sales channel to a publishable api key scope" * summary: "Add SalesChannels"
* description: "Assign a batch of sales channels to a publishable api key." * description: "Assign a batch of sales channels to a publishable api key."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -7,7 +7,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
/** /**
* @oas [post] /publishable-api-keys * @oas [post] /publishable-api-keys
* operationId: "PostPublishableApiKeys" * operationId: "PostPublishableApiKeys"
* summary: "Create a PublishableApiKey" * summary: "Create PublishableApiKey"
* description: "Creates a PublishableApiKey." * description: "Creates a PublishableApiKey."
* requestBody: * requestBody:
* content: * content:
@@ -9,7 +9,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
/** /**
* @oas [delete] /publishable-api-keys/{id}/sales-channels/batch * @oas [delete] /publishable-api-keys/{id}/sales-channels/batch
* operationId: "DeletePublishableApiKeySalesChannelsChannelsBatch" * operationId: "DeletePublishableApiKeySalesChannelsChannelsBatch"
* summary: "Remove sales channel from a publishable api key scope" * summary: "Delete SalesChannels"
* description: "Remove a batch of sales channels from a publishable api key." * description: "Remove a batch of sales channels from a publishable api key."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -5,7 +5,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
/** /**
* @oas [delete] /publishable-api-keys/{id} * @oas [delete] /publishable-api-keys/{id}
* operationId: "DeletePublishableApiKeysPublishableApiKey" * operationId: "DeletePublishableApiKeysPublishableApiKey"
* summary: "Delete a PublishableApiKey" * summary: "Delete PublishableApiKey"
* description: "Deletes a PublishableApiKeys" * description: "Deletes a PublishableApiKeys"
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -5,7 +5,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
/** /**
* @oas [get] /publishable-api-keys/{id} * @oas [get] /publishable-api-keys/{id}
* operationId: "GetPublishableApiKeysPublishableApiKey" * operationId: "GetPublishableApiKeysPublishableApiKey"
* summary: "Get a Publishable API Key" * summary: "Get a PublishableApiKey"
* description: "Retrieve the Publishable Api Key." * description: "Retrieve the Publishable Api Key."
* parameters: * parameters:
* - (path) id=* {string} The ID of the PublishableApiKey. * - (path) id=* {string} The ID of the PublishableApiKey.
@@ -7,7 +7,7 @@ import { extendedFindParamsMixin } from "../../../../types/common"
/** /**
* @oas [get] /publishable-api-keys/{id}/sales-channels * @oas [get] /publishable-api-keys/{id}/sales-channels
* operationId: "GetPublishableApiKeySalesChannels" * operationId: "GetPublishableApiKeySalesChannels"
* summary: "List PublishableApiKey's SalesChannels" * summary: "List SalesChannels"
* description: "List PublishableApiKey's SalesChannels" * description: "List PublishableApiKey's SalesChannels"
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -6,7 +6,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
/** /**
* @oas [post] /publishable-api-keys/{id}/revoke * @oas [post] /publishable-api-keys/{id}/revoke
* operationId: "PostPublishableApiKeysPublishableApiKeyRevoke" * operationId: "PostPublishableApiKeysPublishableApiKeyRevoke"
* summary: "Revoke a PublishableApiKey" * summary: "Revoke PublishableApiKey"
* description: "Revokes a PublishableApiKey." * description: "Revokes a PublishableApiKey."
* parameters: * parameters:
* - (path) id=* {string} The ID of the PublishableApiKey. * - (path) id=* {string} The ID of the PublishableApiKey.
@@ -7,7 +7,7 @@ import PublishableApiKeyService from "../../../../services/publishable-api-key"
/** /**
* @oas [post] /publishable-api-key/{id} * @oas [post] /publishable-api-key/{id}
* operationId: "PostPublishableApiKysPublishableApiKey" * operationId: "PostPublishableApiKysPublishableApiKey"
* summary: "Updates a PublishableApiKey" * summary: "Update PublishableApiKey"
* description: "Updates a PublishableApiKey." * description: "Updates a PublishableApiKey."
* x-authenticated: true * x-authenticated: true
* parameters: * parameters:
@@ -4,8 +4,8 @@ import { IFileService } from "../../../../interfaces"
/** /**
* @oas [post] /uploads/protected * @oas [post] /uploads/protected
* operationId: "PostUploadsProtected" * operationId: "PostUploadsProtected"
* summary: "Upload files with acl or in a non-public bucket" * summary: "Protected File Upload"
* description: "Uploads at least one file to the specific fileservice that is installed in Medusa." * description: "Uploads at least one file with ACL or a non-public bucket to the specific fileservice that is installed in Medusa."
* x-authenticated: true * x-authenticated: true
* requestBody: * requestBody:
* content: * content:
@@ -9,7 +9,7 @@ import {
/** /**
* @oas [post] /orders/customer/confirm * @oas [post] /orders/customer/confirm
* operationId: "PostOrdersCustomerOrderClaimsCustomerOrderClaimAccept" * operationId: "PostOrdersCustomerOrderClaimsCustomerOrderClaimAccept"
* summary: "Verify a claim to orders" * summary: "Verify an Order Claim"
* description: "Verifies the claim order token provided to the customer upon request of order ownership" * description: "Verifies the claim order token provided to the customer upon request of order ownership"
* requestBody: * requestBody:
* content: * content:
@@ -44,7 +44,7 @@ import {
* - api_token: [] * - api_token: []
* - cookie_auth: [] * - cookie_auth: []
* tags: * tags:
* - Invite * - Order
* responses: * responses:
* 200: * 200:
* description: OK * description: OK
@@ -11,7 +11,7 @@ import { TokenEvents } from "../../../../types/token"
/** /**
* @oas [post] /orders/batch/customer/token * @oas [post] /orders/batch/customer/token
* operationId: "PostOrdersCustomerOrderClaim" * operationId: "PostOrdersCustomerOrderClaim"
* summary: "Claim orders for signed in account" * summary: "Claim an Order"
* description: "Sends an email to emails registered to orders provided with link to transfer order ownership" * description: "Sends an email to emails registered to orders provided with link to transfer order ownership"
* requestBody: * requestBody:
* content: * content:
@@ -4,7 +4,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [post] /payment-collections/{id}/sessions/batch/authorize * @oas [post] /payment-collections/{id}/sessions/batch/authorize
* operationId: "PostPaymentCollectionsSessionsBatchAuthorize" * operationId: "PostPaymentCollectionsSessionsBatchAuthorize"
* summary: "Authorize Payment Sessions of a Payment Collection" * summary: "Authorize PaymentSessions"
* description: "Authorizes Payment Sessions of a Payment Collection." * description: "Authorizes Payment Sessions of a Payment Collection."
* x-authenticated: false * x-authenticated: false
* parameters: * parameters:
@@ -33,7 +33,7 @@ import { PaymentCollectionService } from "../../../../services"
* - api_token: [] * - api_token: []
* - cookie_auth: [] * - cookie_auth: []
* tags: * tags:
* - Payment * - PaymentCollection
* responses: * responses:
* 200: * 200:
* description: OK * description: OK
@@ -5,7 +5,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [post] /payment-collections/{id}/sessions/{session_id}/authorize * @oas [post] /payment-collections/{id}/sessions/{session_id}/authorize
* operationId: "PostPaymentCollectionsSessionsSessionAuthorize" * operationId: "PostPaymentCollectionsSessionsSessionAuthorize"
* summary: "Authorize a Payment Session of a Payment Collection" * summary: "Authorize Payment Session"
* description: "Authorizes a Payment Session of a Payment Collection." * description: "Authorizes a Payment Session of a Payment Collection."
* x-authenticated: false * x-authenticated: false
* parameters: * parameters:
@@ -30,7 +30,7 @@ import { PaymentCollectionService } from "../../../../services"
* - api_token: [] * - api_token: []
* - cookie_auth: [] * - cookie_auth: []
* tags: * tags:
* - Payment * - PaymentCollection
* responses: * responses:
* 200: * 200:
* description: OK * description: OK
@@ -5,7 +5,7 @@ import { FindParams } from "../../../../types/common"
* @oas [get] /payment-collections/{id} * @oas [get] /payment-collections/{id}
* operationId: "GetPaymentCollectionsPaymentCollection" * operationId: "GetPaymentCollectionsPaymentCollection"
* summary: "Retrieve an PaymentCollection" * summary: "Retrieve an PaymentCollection"
* description: "Retrieves a PaymentCollection." * description: "Get a Payment Collection"
* x-authenticated: false * x-authenticated: false
* parameters: * parameters:
* - (path) id=* {string} The ID of the PaymentCollection. * - (path) id=* {string} The ID of the PaymentCollection.
@@ -7,7 +7,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [post] /payment-collections/{id}/sessions/batch * @oas [post] /payment-collections/{id}/sessions/batch
* operationId: "PostPaymentCollectionsPaymentCollectionSessionsBatch" * operationId: "PostPaymentCollectionsPaymentCollectionSessionsBatch"
* summary: "Manage Multiple Payment Sessions from Payment Collections" * summary: "Manage Payment Sessions"
* description: "Manages Multiple Payment Sessions from Payment Collections." * description: "Manages Multiple Payment Sessions from Payment Collections."
* x-authenticated: false * x-authenticated: false
* parameters: * parameters:
@@ -61,7 +61,7 @@ import { PaymentCollectionService } from "../../../../services"
* - api_token: [] * - api_token: []
* - cookie_auth: [] * - cookie_auth: []
* tags: * tags:
* - Payment * - PaymentCollection
* responses: * responses:
* 200: * 200:
* description: OK * description: OK
@@ -6,7 +6,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [post] /payment-collections/{id}/sessions * @oas [post] /payment-collections/{id}/sessions
* operationId: "PostPaymentCollectionsSessions" * operationId: "PostPaymentCollectionsSessions"
* summary: "Manage Payment Sessions from Payment Collections" * summary: "Manage a Payment Session"
* description: "Manages Payment Sessions from Payment Collections." * description: "Manages Payment Sessions from Payment Collections."
* x-authenticated: false * x-authenticated: false
* parameters: * parameters:
@@ -40,7 +40,7 @@ import { PaymentCollectionService } from "../../../../services"
* - api_token: [] * - api_token: []
* - cookie_auth: [] * - cookie_auth: []
* tags: * tags:
* - Payment * - PaymentCollection
* responses: * responses:
* 200: * 200:
* description: OK * description: OK
@@ -4,7 +4,7 @@ import { PaymentCollectionService } from "../../../../services"
/** /**
* @oas [post] /payment-collections/{id}/sessions/{session_id} * @oas [post] /payment-collections/{id}/sessions/{session_id}
* operationId: PostPaymentCollectionsPaymentCollectionPaymentSessionsSession * operationId: PostPaymentCollectionsPaymentCollectionPaymentSessionsSession
* summary: Refresh a Payment Session * summary: "Refresh a Payment Session"
* description: "Refreshes a Payment Session to ensure that it is in sync with the Payment Collection." * description: "Refreshes a Payment Session to ensure that it is in sync with the Payment Collection."
* x-authenticated: false * x-authenticated: false
* parameters: * parameters: