Skip to content

Commit 6ee1aa9

Browse files
authored
Merge pull request #5160 from aldur/fix/openapi_validation
fix: OpenAPI validation
2 parents 9cce325 + 31b5360 commit 6ee1aa9

9 files changed

+55
-133
lines changed

.github/actions/open-api/Dockerfile.open-api-validate

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2-
"okay": false,
3-
"cause": "Unchecked(PublicFunctionNotReadOnly(..."
2+
"value": {
3+
"okay": false,
4+
"cause": "Unchecked(PublicFunctionNotReadOnly(..."
5+
}
46
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2-
"okay": true,
3-
"result": "0x111..."
2+
"value": {
3+
"okay": true,
4+
"result": "0x111..."
5+
}
46
}

docs/rpc/api/core-node/get-burn-ops-peg-in.example.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/rpc/api/core-node/get-burn-ops-peg-out-fulfill.example.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/rpc/api/core-node/get-burn-ops-peg-out-request.example.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/rpc/api/core-node/post-fee-transaction-response.schema.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
"title": "TransactionFeeEstimateResponse",
55
"type": "object",
66
"additionalProperties": false,
7-
"required": ["estimated_cost", "estimated_cost_scalar", "estimated_fee_rates", "estimated_fees"],
7+
"required": [
8+
"estimated_cost",
9+
"estimated_cost_scalar",
10+
"cost_scalar_change_by_byte",
11+
"estimations"
12+
],
813
"properties": {
914
"estimated_cost_scalar": {
1015
"type": "integer"

docs/rpc/api/trait/get-is-trait-implemented.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"properties": {
99
"is_implemented": {
1010
"type": "boolean"
11-
},
11+
}
1212
}
1313
}

0 commit comments

Comments
 (0)