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

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-01-19 10:06:17 +02:00
committed by GitHub
co-authored by olivermrbl
parent 3a0f37ef02
commit 296d6e229f
375 changed files with 8467 additions and 5775 deletions
+1 -36
View File
@@ -36,42 +36,7 @@ post:
content:
application/json:
schema:
type: object
properties:
type:
type: string
description: The type of the data property.
enum:
- order
- cart
- swap
data:
type: object
description: >-
The data of the result object. Its type depends on the type
field.
oneOf:
- type: object
description: >-
Cart was successfully authorized and order was placed
successfully.
properties:
order:
$ref: ../components/schemas/Order.yaml
- type: object
description: >-
Cart was successfully authorized but requires further
actions.
properties:
cart:
$ref: ../components/schemas/Cart.yaml
- type: object
description: >-
When cart is used for a swap and it has been completed
successfully.
properties:
cart:
$ref: ../components/schemas/Swap.yaml
$ref: ../components/schemas/StoreCompleteCartRes.yaml
'400':
$ref: ../components/responses/400_error.yaml
'404':