Skip to content

Commit 38c14f9

Browse files
chore: update OpenAPI spec from 0x-labs (#188)
Co-authored-by: pgrzesik <17499590+pgrzesik@users.noreply.github.com>
1 parent 9dc3581 commit 38c14f9

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

fern/openapi.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4196,6 +4196,9 @@
41964196
"anyOf": [
41974197
{ "$ref": "#/components/schemas/INPUT_INVALID" },
41984198
{ "$ref": "#/components/schemas/RECIPIENT_NOT_SUPPORTED" },
4199+
{
4200+
"$ref": "#/components/schemas/SMART_WALLET_NOT_SUPPORTED"
4201+
},
41994202
{
42004203
"$ref": "#/components/schemas/UNABLE_TO_CALCULATE_GAS_FEE"
42014204
},
@@ -5217,6 +5220,9 @@
52175220
{ "$ref": "#/components/schemas/INPUT_INVALID" },
52185221
{ "$ref": "#/components/schemas/INSUFFICIENT_BALANCE" },
52195222
{ "$ref": "#/components/schemas/RECIPIENT_NOT_SUPPORTED" },
5223+
{
5224+
"$ref": "#/components/schemas/SMART_WALLET_NOT_SUPPORTED"
5225+
},
52205226
{
52215227
"$ref": "#/components/schemas/UNABLE_TO_CALCULATE_GAS_FEE"
52225228
},
@@ -5965,6 +5971,9 @@
59655971
{
59665972
"$ref": "#/components/schemas/PENDING_TRADES_ALREADY_EXIST"
59675973
},
5974+
{
5975+
"$ref": "#/components/schemas/SMART_WALLET_NOT_SUPPORTED"
5976+
},
59685977
{ "$ref": "#/components/schemas/TRADE_ALREADY_SUBMITTED" }
59695978
]
59705979
}
@@ -7653,6 +7662,34 @@
76537662
"required": ["name", "message", "data"],
76547663
"additionalProperties": false
76557664
},
7665+
"SMART_WALLET_NOT_SUPPORTED": {
7666+
"type": "object",
7667+
"properties": {
7668+
"name": { "type": "string", "enum": ["SMART_WALLET_NOT_SUPPORTED"] },
7669+
"message": { "type": "string" },
7670+
"data": {
7671+
"type": "object",
7672+
"properties": {
7673+
"zid": {
7674+
"type": "string",
7675+
"description": "The unique ZeroEx identifier of the request"
7676+
},
7677+
"taker": {
7678+
"type": "string",
7679+
"description": "The smart wallet address that was rejected"
7680+
},
7681+
"chainId": {
7682+
"type": "number",
7683+
"description": "The chain where smart wallets are not supported"
7684+
}
7685+
},
7686+
"required": ["zid", "taker", "chainId"],
7687+
"additionalProperties": false
7688+
}
7689+
},
7690+
"required": ["name", "message", "data"],
7691+
"additionalProperties": false
7692+
},
76567693
"SWAP_VALIDATION_FAILED": {
76577694
"type": "object",
76587695
"properties": {

0 commit comments

Comments
 (0)