diff --git a/apis/beacon/pool/attestations.yaml b/apis/beacon/pool/attestations.yaml index 83a37fdf..395dc6ed 100644 --- a/apis/beacon/pool/attestations.yaml +++ b/apis/beacon/pool/attestations.yaml @@ -29,11 +29,13 @@ get: required: [data] properties: 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 slot or committee index could not be parsed" content: diff --git a/apis/beacon/pool/attester_slashings.yaml b/apis/beacon/pool/attester_slashings.yaml index 545d7265..9ccb69ae 100644 --- a/apis/beacon/pool/attester_slashings.yaml +++ b/apis/beacon/pool/attester_slashings.yaml @@ -18,11 +18,13 @@ get: required: [data] properties: data: - type: array - items: - oneOf: - - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/AttesterSlashing' - - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Electra.AttesterSlashing' + oneOf: + - type: array + items: + $ref: '../../../beacon-node-oapi.yaml#/components/schemas/AttesterSlashing' + - type: array + items: + $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Electra.AttesterSlashing' "500": $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError'