chore(docs): Generated API Reference (#3061)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
olivermrbl
parent
3a0f37ef02
commit
296d6e229f
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user