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

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-02-09 09:50:55 +02:00
committed by GitHub
parent 9997485c55
commit 14b2de94e2
952 changed files with 13745 additions and 9192 deletions

View File

@@ -8,12 +8,12 @@ post:
parameters:
- in: query
name: expand
description: (Comma separated) Which fields should be expanded in each customer.
description: (Comma separated) Which fields should be expanded in the results.
schema:
type: string
- in: query
name: fields
description: (Comma separated) Which fields should be retrieved in each customer.
description: (Comma separated) Which fields should be retrieved in the results.
schema:
type: string
requestBody:
@@ -21,15 +21,18 @@ post:
application/json:
schema:
$ref: ../components/schemas/AdminPostDiscountsReq.yaml
x-codegen:
method: create
queryParams: AdminPostDiscountsParams
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/discounts/postundefined
$ref: ../code_samples/JavaScript/discounts/post.js
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/discounts/postundefined
$ref: ../code_samples/Shell/discounts/post.sh
security:
- api_token: []
- cookie_auth: []
@@ -116,15 +119,18 @@ get:
description: Comma separated list of relations to include in the results.
schema:
type: string
x-codegen:
method: list
queryParams: AdminGetDiscountsParams
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/discounts/getundefined
$ref: ../code_samples/JavaScript/discounts/get.js
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/discounts/getundefined
$ref: ../code_samples/Shell/discounts/get.sh
security:
- api_token: []
- cookie_auth: []