JSONRPC Schemas #9633
Replies: 1 comment
-
You are correct - the OpenAPI spec is incorrect in a couple of places. I think the original authors meant that either With regard to the tendermint/rpc/jsonrpc/types/types.go Lines 154 to 159 in cceea4d And the error part is actually this object: tendermint/rpc/jsonrpc/types/types.go Lines 140 to 144 in cceea4d I'll convert this discussion into an issue so we can fix this. |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I was looking for JSONRPC response schemas and found them in yaml in openapi.yaml. However, these appear to be incorrect. For instance, on
BroadcastTxResponse
, bothresult
anderror
are required, but the API returns one or the other exclusively. Also,error
is declared astype: string
, but an object is returned in testing.We are using v0.34.16; anything I am missing here? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions