Skip to content

Commit 91e2916

Browse files
authored
Replace oneOf with anyOf in openapi schemas (#100)
1 parent 2ee2480 commit 91e2916

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apis/builder/blinded_blocks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ post:
2626
content:
2727
application/json:
2828
schema:
29-
oneOf:
29+
anyOf:
3030
- $ref: "../../builder-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
3131
- $ref: "../../builder-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
3232
- $ref: "../../builder-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
@@ -53,7 +53,7 @@ post:
5353
enum: [ bellatrix, capella, deneb ]
5454
example: "bellatrix"
5555
data:
56-
oneOf:
56+
anyOf:
5757
- $ref: "../../builder-oapi.yaml#/components/schemas/Bellatrix.ExecutionPayload"
5858
- $ref: "../../builder-oapi.yaml#/components/schemas/Capella.ExecutionPayload"
5959
- $ref: "../../builder-oapi.yaml#/components/schemas/Deneb.ExecutionPayloadAndBlobsBundle"

apis/builder/header.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ get:
4747
enum: [ bellatrix, capella, deneb ]
4848
example: "bellatrix"
4949
data:
50-
oneOf:
50+
anyOf:
5151
- $ref: "../../builder-oapi.yaml#/components/schemas/Bellatrix.SignedBuilderBid"
5252
- $ref: "../../builder-oapi.yaml#/components/schemas/Capella.SignedBuilderBid"
5353
- $ref: "../../builder-oapi.yaml#/components/schemas/Deneb.SignedBuilderBid"

0 commit comments

Comments
 (0)