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

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-12-22 17:09:49 +02:00
committed by GitHub
co-authored by olivermrbl
parent 233d6904f8
commit 4814045036
477 changed files with 17312 additions and 17713 deletions
+3 -31
View File
@@ -7,35 +7,7 @@ post:
content:
application/json:
schema:
type: object
required:
- email
- first_name
- last_name
- password
properties:
email:
type: string
description: The customer's email.
format: email
first_name:
type: string
description: The customer's first name.
last_name:
type: string
description: The customer's last name.
password:
type: string
description: The customer's password.
format: password
phone:
type: string
description: The customer's phone number.
metadata:
description: >-
An optional set of key-value pairs to hold additional
information.
type: object
$ref: ../components/schemas/AdminPostCustomersReq.yaml
tags:
- Customer
x-codeSamples:
@@ -59,7 +31,7 @@ post:
type: object
properties:
customer:
$ref: ../components/schemas/customer.yaml
$ref: ../components/schemas/Customer.yaml
'400':
$ref: ../components/responses/400_error.yaml
'401':
@@ -125,7 +97,7 @@ get:
customers:
type: array
items:
$ref: ../components/schemas/customer.yaml
$ref: ../components/schemas/Customer.yaml
count:
type: integer
description: The total number of items available