Incorrect REST API Specs for "/blocks"
tuhin-52321 opened this issue · 0 comments
tuhin-52321 commented
https://sawtooth.hyperledger.org/docs/1.2/rest_api/openapi/#/paths/~1blocks/get
In the above specs, '/blocks' response specified, block_num as integer. But it is coming as string. Please fix the documentation.
{
"header": {
"block_num": "2",
"previous_block_id": "b05a7f41b0c15a4b0eaaf14397ef346b84bbc0e2d6240d7e189ce711cbda79a12ce3aaf8b1e51bdd1deaad6ce04a5bddcd0a11387b87fed9b2a49fe67c38609e",
"signer_public_key": "0354a24f9e1a981fe3924c7c36fb1e7f4612e0c896525203bcf50046d868c4af9a",