From 4ea9f4118dfc62b6fdd53502362d44213f25bff7 Mon Sep 17 00:00:00 2001 From: Mehdi AOUADI Date: Mon, 27 May 2024 11:13:43 +0200 Subject: [PATCH] fix attestations array shcema --- apis/beacon/blocks/attestations.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apis/beacon/blocks/attestations.yaml b/apis/beacon/blocks/attestations.yaml index ab968268..3c26d37e 100644 --- a/apis/beacon/blocks/attestations.yaml +++ b/apis/beacon/blocks/attestations.yaml @@ -28,11 +28,13 @@ get: finalized: $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized" data: - type: array - items: - oneOf: - - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Attestation' - - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Electra.Attestation' + oneOf: + - type: array + items: + $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Attestation' + - type: array + items: + $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Electra.Attestation' "400": description: "The block ID supplied could not be parsed" content: