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
parent 233d6904f8
commit 4814045036
477 changed files with 17312 additions and 17713 deletions

View File

@@ -3,12 +3,12 @@ content:
application/json:
schema:
oneOf:
- $ref: ../schemas/error.yaml
- $ref: ../schemas/multiple_errors.yaml
- $ref: ../schemas/Error.yaml
- $ref: ../schemas/MultipleErrors.yaml
examples:
not_allowed:
$ref: ../examples/not_allowed_error.yaml
invalid_data:
$ref: ../examples/invalid_data_error.yaml
multiple_errors:
MultipleErrors:
$ref: ../examples/multiple_errors.yaml

View File

@@ -2,7 +2,7 @@ description: Server Error
content:
application/json:
schema:
$ref: ../schemas/error.yaml
$ref: ../schemas/Error.yaml
examples:
database:
$ref: ../examples/database_error.yaml

View File

@@ -2,7 +2,7 @@ description: Default Error
content:
application/json:
schema:
$ref: ../schemas/error.yaml
$ref: ../schemas/Error.yaml
example:
code: unknown_error
message: An unknown error occurred.

View File

@@ -2,7 +2,7 @@ description: Invalid Request Error
content:
application/json:
schema:
$ref: ../schemas/error.yaml
$ref: ../schemas/Error.yaml
example:
code: invalid_request_error
message: Discount with code TEST already exists.

View File

@@ -2,7 +2,7 @@ description: Invalid State Error
content:
application/json:
schema:
$ref: ../schemas/error.yaml
$ref: ../schemas/Error.yaml
example:
code: unknown_error
message: >-

View File

@@ -2,7 +2,7 @@ description: Not Found Error
content:
application/json:
schema:
$ref: ../schemas/error.yaml
$ref: ../schemas/Error.yaml
example:
message: Entity with id 1 was not found
type: not_found