Skip to content

Commit

Permalink
chore: update block response name
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Feb 4, 2024
1 parent 06be140 commit 7a6fc50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/doc/thor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ components:
The response will contain information about the block identified by the provided `revision`.
title: GetBlockResponse
oneOf:
- $ref: '#/components/schemas/CompressedBlockResponse'
- $ref: '#/components/schemas/RegularBlockResponse'
- $ref: '#/components/schemas/ExpandedBlockResponse'
example:
number: 325324
Expand All @@ -934,8 +934,8 @@ components:
transactions:
- '0x284bba50ef777889ff1a367ed0b38d5e5626714477c40de38d71cedd6f9fa477'

CompressedBlockResponse:
title: CompressedBlockResponse
RegularBlockResponse:
title: RegularBlockResponse
type: object
description: |
The response will contain information about the block identified by the provided `revision`. The `transactions`
Expand Down

0 comments on commit 7a6fc50

Please sign in to comment.