diff --git a/apis/beacon/blocks/blinded_block.yaml b/apis/beacon/blocks/blinded_block.yaml index 2282daa4..35e89e7a 100644 --- a/apis/beacon/blocks/blinded_block.yaml +++ b/apis/beacon/blocks/blinded_block.yaml @@ -33,7 +33,7 @@ get: finalized: $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized" data: - oneOf: + anyOf: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock" diff --git a/apis/beacon/blocks/blinded_blocks.v2.yaml b/apis/beacon/blocks/blinded_blocks.v2.yaml index ac47d2ab..9d48718d 100644 --- a/apis/beacon/blocks/blinded_blocks.v2.yaml +++ b/apis/beacon/blocks/blinded_blocks.v2.yaml @@ -49,7 +49,7 @@ post: content: application/json: schema: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock' - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock" diff --git a/apis/beacon/blocks/blinded_blocks.yaml b/apis/beacon/blocks/blinded_blocks.yaml index 53301943..1f545e57 100644 --- a/apis/beacon/blocks/blinded_blocks.yaml +++ b/apis/beacon/blocks/blinded_blocks.yaml @@ -27,7 +27,7 @@ post: content: application/json: schema: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock' - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock" diff --git a/apis/beacon/blocks/block.v2.yaml b/apis/beacon/blocks/block.v2.yaml index 050ca729..f1ef818d 100644 --- a/apis/beacon/blocks/block.v2.yaml +++ b/apis/beacon/blocks/block.v2.yaml @@ -33,7 +33,7 @@ get: finalized: $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized" data: - oneOf: + anyOf: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBeaconBlock" diff --git a/apis/beacon/blocks/blocks.v2.yaml b/apis/beacon/blocks/blocks.v2.yaml index c68b3985..45959301 100644 --- a/apis/beacon/blocks/blocks.v2.yaml +++ b/apis/beacon/blocks/blocks.v2.yaml @@ -48,7 +48,7 @@ post: content: application/json: schema: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock' - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBeaconBlock" diff --git a/apis/beacon/blocks/blocks.yaml b/apis/beacon/blocks/blocks.yaml index b3f6d7ef..68be1b69 100644 --- a/apis/beacon/blocks/blocks.yaml +++ b/apis/beacon/blocks/blocks.yaml @@ -26,7 +26,7 @@ post: content: application/json: schema: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock' - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBeaconBlock" diff --git a/apis/beacon/light_client/bootstrap.yaml b/apis/beacon/light_client/bootstrap.yaml index 34f67a41..89b7f1fd 100644 --- a/apis/beacon/light_client/bootstrap.yaml +++ b/apis/beacon/light_client/bootstrap.yaml @@ -29,7 +29,7 @@ get: version: $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' data: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Altair.LightClientBootstrap' - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Capella.LightClientBootstrap' application/octet-stream: diff --git a/apis/beacon/light_client/finality_update.yaml b/apis/beacon/light_client/finality_update.yaml index 0480a9ca..c1a395d3 100644 --- a/apis/beacon/light_client/finality_update.yaml +++ b/apis/beacon/light_client/finality_update.yaml @@ -24,7 +24,7 @@ get: version: $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' data: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Altair.LightClientFinalityUpdate' - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Capella.LightClientFinalityUpdate' application/octet-stream: diff --git a/apis/beacon/light_client/optimistic_update.yaml b/apis/beacon/light_client/optimistic_update.yaml index 5a6e9bc3..dea560e5 100644 --- a/apis/beacon/light_client/optimistic_update.yaml +++ b/apis/beacon/light_client/optimistic_update.yaml @@ -24,7 +24,7 @@ get: version: $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' data: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Altair.LightClientOptimisticUpdate' - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Capella.LightClientOptimisticUpdate' application/octet-stream: diff --git a/apis/beacon/light_client/updates.yaml b/apis/beacon/light_client/updates.yaml index 6299d0bd..4823d071 100644 --- a/apis/beacon/light_client/updates.yaml +++ b/apis/beacon/light_client/updates.yaml @@ -34,7 +34,7 @@ get: version: $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' data: - oneOf: + anyOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Altair.LightClientUpdate' - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Capella.LightClientUpdate' application/octet-stream: diff --git a/apis/debug/state.v2.yaml b/apis/debug/state.v2.yaml index d475459a..d58ed771 100644 --- a/apis/debug/state.v2.yaml +++ b/apis/debug/state.v2.yaml @@ -33,7 +33,7 @@ get: finalized: $ref: "../../beacon-node-oapi.yaml#/components/schemas/Finalized" data: - oneOf: + anyOf: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/BeaconState' - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Altair.BeaconState" - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.BeaconState" diff --git a/apis/validator/blinded_block.yaml b/apis/validator/blinded_block.yaml index 009c2557..be7d60c2 100644 --- a/apis/validator/blinded_block.yaml +++ b/apis/validator/blinded_block.yaml @@ -59,7 +59,7 @@ get: enum: [ phase0, altair, bellatrix, capella, deneb ] example: "bellatrix" data: - oneOf: + anyOf: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/BeaconBlock' - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Altair.BeaconBlock" - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.BlindedBeaconBlock" diff --git a/apis/validator/block.v2.yaml b/apis/validator/block.v2.yaml index 3e1fe104..f436294d 100644 --- a/apis/validator/block.v2.yaml +++ b/apis/validator/block.v2.yaml @@ -56,7 +56,7 @@ get: enum: [ phase0, altair, bellatrix, capella, deneb ] example: "phase0" data: - oneOf: + anyOf: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/BeaconBlock' - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Altair.BeaconBlock" - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.BeaconBlock" diff --git a/apis/validator/block.v3.yaml b/apis/validator/block.v3.yaml index c99bb40e..7932ac57 100644 --- a/apis/validator/block.v3.yaml +++ b/apis/validator/block.v3.yaml @@ -109,7 +109,7 @@ get: type: string example: "12345" data: - oneOf: + anyOf: - $ref: "../../beacon-node-oapi.yaml#/components/schemas/BeaconBlock" - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Altair.BeaconBlock" - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.BeaconBlock"