Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Incorrect REST API Specs for "/blocks" #193

Open
tuhin-52321 opened this issue Aug 4, 2022 · 0 comments
Open

Incorrect REST API Specs for "/blocks" #193

tuhin-52321 opened this issue Aug 4, 2022 · 0 comments

Comments

@tuhin-52321
Copy link

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",

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant