From 5706eaf3b91fb0e5c1afa6caf44526feb3436d69 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Wed, 8 Sep 2021 09:38:32 +1000 Subject: [PATCH] [#425] Specify description and example for version in OpenAPI spec (#426) - Specify description and example for version property of BlockRequestPhase0 and BlockRequestAltair --- core/src/main/resources/openapi/web3signer-eth2.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/resources/openapi/web3signer-eth2.yaml b/core/src/main/resources/openapi/web3signer-eth2.yaml index 1000393a9..a1084e999 100644 --- a/core/src/main/resources/openapi/web3signer-eth2.yaml +++ b/core/src/main/resources/openapi/web3signer-eth2.yaml @@ -533,6 +533,8 @@ components: properties: version: type: string + description: 'version to identify block request type.' + example: PHASE0 block: $ref: "#/components/schemas/BeaconBlock" required: @@ -543,6 +545,8 @@ components: properties: version: type: string + description: 'version to identify block request type.' + example: ALTAIR block: $ref: "#/components/schemas/BeaconBlockAltair" required: