From b51d197b696524d6ea72d52a0a699d47fa0348cc Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Fri, 12 Jan 2024 14:21:27 +0100 Subject: [PATCH] fix: restored examples --- apis/validator/beacon_committee_subscriptions.yaml | 1 - types/api.yaml | 1 + types/p2p.yaml | 1 + types/primitive.yaml | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apis/validator/beacon_committee_subscriptions.yaml b/apis/validator/beacon_committee_subscriptions.yaml index f4c9fdfc..1e3a0e0f 100644 --- a/apis/validator/beacon_committee_subscriptions.yaml +++ b/apis/validator/beacon_committee_subscriptions.yaml @@ -35,7 +35,6 @@ post: is_aggregator: type: boolean description: "Signals to BN that a validator on the VC has been chosen for aggregator role." - responses: "200": diff --git a/types/api.yaml b/types/api.yaml index 45bd855e..43238c78 100644 --- a/types/api.yaml +++ b/types/api.yaml @@ -60,6 +60,7 @@ ValidatorStatus: [Validator status specification](https://hackmd.io/ofFJ5gOmQpu1jjHilHbdQQ) enum: ["pending_initialized", "pending_queued", "active_ongoing", "active_exiting", "active_slashed", "exited_unslashed", "exited_slashed", "withdrawal_possible", "withdrawal_done"] + example: "active_ongoing" Committee: diff --git a/types/p2p.yaml b/types/p2p.yaml index e94890b4..9111cbbb 100644 --- a/types/p2p.yaml +++ b/types/p2p.yaml @@ -16,6 +16,7 @@ NetworkIdentity: items: $ref: "./p2p.yaml#/Multiaddr" description: "Node's addresses on which is listening for discv5 requests. [Read more](https://docs.libp2p.io/reference/glossary/#multiaddr)" + example: "/ip4/7.7.7.7/udp/30303/p2p/QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N" metadata: $ref: "./p2p.yaml#/MetaData" diff --git a/types/primitive.yaml b/types/primitive.yaml index daad1b31..00be49d9 100644 --- a/types/primitive.yaml +++ b/types/primitive.yaml @@ -19,8 +19,8 @@ Version: GenesisTime: $ref: "./primitive.yaml#/Uint64" - description: "The genesis_time configured for the beacon node, which is the unix time in seconds at which the Eth2.0 chain began." example: "1590832934" + description: "The genesis_time configured for the beacon node, which is the unix time in seconds at which the Eth2.0 chain began." Wei: $ref: "./primitive.yaml#/Uint256"