chore(docs): Generated API Reference (#5431)

Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-10-20 14:13:44 +03:00
committed by GitHub
parent 9dcd62c731
commit da05999f13
20 changed files with 36 additions and 32 deletions

View File

@@ -93,7 +93,7 @@ delete:
Delete the current session for the logged in user. This will only work if
you're using Cookie session for authentication. If the API token is still
passed in the header, the user is still authorized to perform admin
functionalities in other endpoints.
functionalities in other API Routes.
x-codegen:
method: deleteSession
x-codeSamples:

View File

@@ -270,7 +270,7 @@ post:
description: >-
Create a Batch Job to be executed asynchronously in the Medusa backend. If
`dry_run` is set to `true`, the batch job will not be executed until the it
is confirmed, which can be done using the Confirm Batch Job endpoint.
is confirmed, which can be done using the Confirm Batch Job API Route.
externalDocs:
description: How to create a batch job
url: https://docs.medusajs.com/development/batch-jobs/create#create-batch-job

View File

@@ -3,7 +3,7 @@ post:
summary: Confirm a Batch Job
description: >-
When a batch job is created, it is not executed automatically if `dry_run`
is set to `true`. This endpoint confirms that the batch job should be
is set to `true`. This API Route confirms that the batch job should be
executed.
x-authenticated: true
parameters:

View File

@@ -281,7 +281,7 @@ post:
summary: Create a Product
x-authenticated: true
description: >-
Create a new Product. This endpoint can also be used to create a gift card
Create a new Product. This API Route can also be used to create a gift card
if the `is_giftcard` field is set to `true`.
requestBody:
content: