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

Incorrect REST API Specs for "/blocks" #193

@tuhin-52321

Description

@tuhin-52321

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions