From 64a2da8ca49beba14728feadc56f4c8c9db2e935 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Fri, 12 Jan 2024 12:16:50 +0100 Subject: [PATCH] fix: correctly merge enums --- apis/beacon/states/validators.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/beacon/states/validators.yaml b/apis/beacon/states/validators.yaml index b85c829c..b0680771 100644 --- a/apis/beacon/states/validators.yaml +++ b/apis/beacon/states/validators.yaml @@ -33,7 +33,7 @@ get: type: array uniqueItems: true items: - allOf: + oneOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ValidatorStatus' - enum: ["active", "pending", "exited", "withdrawal"] @@ -121,7 +121,7 @@ post: type: array uniqueItems: true items: - allOf: + oneOf: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ValidatorStatus' - enum: ["active", "pending", "exited", "withdrawal"] responses: