chore(docs): Generated API Reference (#3211)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9997485c55
commit
14b2de94e2
@@ -8,15 +8,17 @@ post:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/AdminPostShippingOptionsReq.yaml
|
||||
x-codegen:
|
||||
method: create
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
source:
|
||||
$ref: ../code_samples/JavaScript/shipping-options/postundefined
|
||||
$ref: ../code_samples/JavaScript/shipping-options/post.js
|
||||
- lang: Shell
|
||||
label: cURL
|
||||
source:
|
||||
$ref: ../code_samples/Shell/shipping-options/postundefined
|
||||
$ref: ../code_samples/Shell/shipping-options/post.sh
|
||||
security:
|
||||
- api_token: []
|
||||
- cookie_auth: []
|
||||
@@ -62,15 +64,18 @@ get:
|
||||
schema:
|
||||
type: boolean
|
||||
description: Flag for fetching admin specific options
|
||||
x-codegen:
|
||||
method: list
|
||||
queryParams: AdminGetShippingOptionsParams
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
source:
|
||||
$ref: ../code_samples/JavaScript/shipping-options/getundefined
|
||||
$ref: ../code_samples/JavaScript/shipping-options/get.js
|
||||
- lang: Shell
|
||||
label: cURL
|
||||
source:
|
||||
$ref: ../code_samples/Shell/shipping-options/getundefined
|
||||
$ref: ../code_samples/Shell/shipping-options/get.sh
|
||||
security:
|
||||
- api_token: []
|
||||
- cookie_auth: []
|
||||
|
||||
Reference in New Issue
Block a user