Skip to content

Commit

Permalink
Merge pull request #5160 from aldur/fix/openapi_validation
Browse files Browse the repository at this point in the history
fix: OpenAPI validation
  • Loading branch information
wileyj authored Sep 11, 2024
2 parents 9cce325 + 31b5360 commit 6ee1aa9
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 133 deletions.
10 changes: 0 additions & 10 deletions .github/actions/open-api/Dockerfile.open-api-validate

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"okay": false,
"cause": "Unchecked(PublicFunctionNotReadOnly(..."
"value": {
"okay": false,
"cause": "Unchecked(PublicFunctionNotReadOnly(..."
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"okay": true,
"result": "0x111..."
"value": {
"okay": true,
"result": "0x111..."
}
}
14 changes: 0 additions & 14 deletions docs/rpc/api/core-node/get-burn-ops-peg-in.example.json

This file was deleted.

15 changes: 0 additions & 15 deletions docs/rpc/api/core-node/get-burn-ops-peg-out-fulfill.example.json

This file was deleted.

16 changes: 0 additions & 16 deletions docs/rpc/api/core-node/get-burn-ops-peg-out-request.example.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
"title": "TransactionFeeEstimateResponse",
"type": "object",
"additionalProperties": false,
"required": ["estimated_cost", "estimated_cost_scalar", "estimated_fee_rates", "estimated_fees"],
"required": [
"estimated_cost",
"estimated_cost_scalar",
"cost_scalar_change_by_byte",
"estimations"
],
"properties": {
"estimated_cost_scalar": {
"type": "integer"
Expand Down
2 changes: 1 addition & 1 deletion docs/rpc/api/trait/get-is-trait-implemented.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"properties": {
"is_implemented": {
"type": "boolean"
},
}
}
}
Loading

0 comments on commit 6ee1aa9

Please sign in to comment.