chore(docs): Generated API Reference (#4706)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
co-authored by
olivermrbl
Shahed Nasser
parent
efdea04963
commit
658339767b
@@ -5,7 +5,13 @@ required:
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
description: The type of the data property.
|
||||
description: >-
|
||||
The type of the data property. If the cart completion fails, type will be
|
||||
`cart` and the data object will be the cart's details. If the cart
|
||||
completion is successful and the cart is used for checkout, type will be
|
||||
`order` and the data object will be the order's details. If the cart
|
||||
completion is successful and the cart is used for swap creation, type will
|
||||
be `swap` and the data object will be the swap's details.
|
||||
enum:
|
||||
- order
|
||||
- cart
|
||||
@@ -26,7 +32,5 @@ properties:
|
||||
- $ref: ./Cart.yaml
|
||||
- type: object
|
||||
allOf:
|
||||
- description: >-
|
||||
When cart is used for a swap and it has been completed
|
||||
successfully.
|
||||
- description: Cart was used for a swap and it has been completed successfully.
|
||||
- $ref: ./Swap.yaml
|
||||
|
||||
Reference in New Issue
Block a user