Skip to content

Commit

Permalink
fix attestations array shcema
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi committed May 27, 2024
1 parent 5d1e59e commit 4ea9f41
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apis/beacon/blocks/attestations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4ea9f41

Please sign in to comment.