Skip to content

Commit e9ee6f5

Browse files
committed
Update schemas
1 parent 63e71be commit e9ee6f5

File tree

6 files changed

+36
-6
lines changed

6 files changed

+36
-6
lines changed

contracts/ibc-reflect-send/schema/ibc-reflect-send.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,12 @@
378378
"minimum": 0.0
379379
},
380380
"vote": {
381-
"$ref": "#/definitions/VoteOption"
381+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
382+
"allOf": [
383+
{
384+
"$ref": "#/definitions/VoteOption"
385+
}
386+
]
382387
}
383388
}
384389
}

contracts/ibc-reflect-send/schema/packet_msg.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,12 @@
316316
"minimum": 0.0
317317
},
318318
"vote": {
319-
"$ref": "#/definitions/VoteOption"
319+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
320+
"allOf": [
321+
{
322+
"$ref": "#/definitions/VoteOption"
323+
}
324+
]
320325
}
321326
}
322327
}

contracts/ibc-reflect-send/schema/raw/execute.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,12 @@
367367
"minimum": 0.0
368368
},
369369
"vote": {
370-
"$ref": "#/definitions/VoteOption"
370+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
371+
"allOf": [
372+
{
373+
"$ref": "#/definitions/VoteOption"
374+
}
375+
]
371376
}
372377
}
373378
}

contracts/ibc-reflect/schema/packet_msg.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,12 @@
245245
"minimum": 0.0
246246
},
247247
"vote": {
248-
"$ref": "#/definitions/VoteOption"
248+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
249+
"allOf": [
250+
{
251+
"$ref": "#/definitions/VoteOption"
252+
}
253+
]
249254
}
250255
}
251256
}

contracts/reflect/schema/raw/execute.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,12 @@
362362
"minimum": 0.0
363363
},
364364
"vote": {
365-
"$ref": "#/definitions/VoteOption"
365+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
366+
"allOf": [
367+
{
368+
"$ref": "#/definitions/VoteOption"
369+
}
370+
]
366371
}
367372
}
368373
}

contracts/reflect/schema/reflect.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,12 @@
372372
"minimum": 0.0
373373
},
374374
"vote": {
375-
"$ref": "#/definitions/VoteOption"
375+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
376+
"allOf": [
377+
{
378+
"$ref": "#/definitions/VoteOption"
379+
}
380+
]
376381
}
377382
}
378383
}

0 commit comments

Comments
 (0)