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

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-09-05 10:23:46 +03:00
committed by GitHub
co-authored by olivermrbl
parent 4961aece1c
commit a1350bfaec
662 changed files with 51365 additions and 29004 deletions
@@ -74,6 +74,18 @@ post:
metadata:
description: An optional set of key-value pairs with additional information.
type: object
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/shipping-options/postundefined
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/shipping-options/postundefined
security:
- api_token: []
- cookie_auth: []
tags:
- Shipping Option
responses:
@@ -85,6 +97,18 @@ post:
properties:
shipping_option:
$ref: ../components/schemas/shipping_option.yaml
'400':
$ref: ../components/responses/400_error.yaml
'401':
$ref: ../components/responses/unauthorized.yaml
'404':
$ref: ../components/responses/not_found_error.yaml
'409':
$ref: ../components/responses/invalid_state_error.yaml
'422':
$ref: ../components/responses/invalid_request_error.yaml
'500':
$ref: ../components/responses/500_error.yaml
get:
operationId: GetShippingOptions
summary: List Shipping Options
@@ -106,6 +130,18 @@ get:
schema:
type: boolean
description: Flag for fetching admin specific options
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/shipping-options/getundefined
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/shipping-options/getundefined
security:
- api_token: []
- cookie_auth: []
tags:
- Shipping Option
responses:
@@ -122,3 +158,15 @@ get:
count:
type: integer
description: The total number of items available
'400':
$ref: ../components/responses/400_error.yaml
'401':
$ref: ../components/responses/unauthorized.yaml
'404':
$ref: ../components/responses/not_found_error.yaml
'409':
$ref: ../components/responses/invalid_state_error.yaml
'422':
$ref: ../components/responses/invalid_request_error.yaml
'500':
$ref: ../components/responses/500_error.yaml