Skip to content

Commit

Permalink
[#425] Specify description and example for version in OpenAPI spec (#426
Browse files Browse the repository at this point in the history
)

- Specify description and example for version property of BlockRequestPhase0 and BlockRequestAltair
  • Loading branch information
usmansaleem authored Sep 7, 2021
1 parent 15fc5c5 commit 5706eaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/resources/openapi/web3signer-eth2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,8 @@ components:
properties:
version:
type: string
description: 'version to identify block request type.'
example: PHASE0
block:
$ref: "#/components/schemas/BeaconBlock"
required:
Expand All @@ -543,6 +545,8 @@ components:
properties:
version:
type: string
description: 'version to identify block request type.'
example: ALTAIR
block:
$ref: "#/components/schemas/BeaconBlockAltair"
required:
Expand Down

0 comments on commit 5706eaf

Please sign in to comment.