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,20 +8,22 @@ post:
application/json:
schema:
$ref: ../components/schemas/AdminPostCustomersReq.yaml
tags:
- Customer
x-codegen:
method: create
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/customers/postundefined
$ref: ../code_samples/JavaScript/customers/post.js
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/customers/postundefined
$ref: ../code_samples/Shell/customers/post.sh
security:
- api_token: []
- cookie_auth: []
tags:
- Customer
responses:
'201':
description: OK
@@ -69,15 +71,18 @@ get:
description: a search term to search email, first_name, and last_name.
schema:
type: string
x-codegen:
method: list
queryParams: AdminGetCustomersParams
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/customers/getundefined
$ref: ../code_samples/JavaScript/customers/get.js
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/customers/getundefined
$ref: ../code_samples/Shell/customers/get.sh
security:
- api_token: []
- cookie_auth: []