Skip to content

Commit

Permalink
Reuse BlobSidecars type in getBlobSidecars response
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmygchen committed May 17, 2023
1 parent a6d1c36 commit 096aadc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions apis/beacon/blob_sidecars/blob_sidecars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ get:
type: object
properties:
data:
type: array
items:
oneOf:
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.BlobSidecar"
minItems: 0
maxItems: 4
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.BlobSidecars"
application/octet-stream:
schema:
description: "SSZ serialized `BlobSidecars` bytes. Use Accept header to choose this response type"
Expand Down
4 changes: 2 additions & 2 deletions beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ components:
$ref: './types/deneb/block.yaml#/Deneb/SignedBlindedBeaconBlock'
Blob:
$ref: './types/primitive.yaml#/Blob'
Deneb.BlobSidecar:
$ref: './types/deneb/blob_sidecar.yaml#/Deneb/BlobSidecar'
Deneb.BlobSidecars:
$ref: './types/deneb/blob_sidecar.yaml#/Deneb/BlobSidecars'
Deneb.SignedBlobSidecar:
$ref: './types/deneb/blob_sidecar.yaml#/Deneb/SignedBlobSidecar'
Deneb.BlindedBlobSidecar:
Expand Down

0 comments on commit 096aadc

Please sign in to comment.