From d7d8326e7f81b69a3bef0c1879d3e6b73e69c7c9 Mon Sep 17 00:00:00 2001 From: james-prysm <90280386+james-prysm@users.noreply.github.com> Date: Mon, 27 Feb 2023 14:04:12 -0600 Subject: [PATCH] adding 400 error for fee recipient (#56) --- apis/fee_recipient.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apis/fee_recipient.yaml b/apis/fee_recipient.yaml index 304d7c6..ffd8d50 100644 --- a/apis/fee_recipient.yaml +++ b/apis/fee_recipient.yaml @@ -28,6 +28,8 @@ get: properties: data: $ref: "../keymanager-oapi.yaml#/components/schemas/FeeRecipient" + "400": + $ref: "../keymanager-oapi.yaml#/components/responses/BadRequest" "401": $ref: "../keymanager-oapi.yaml#/components/responses/Unauthorized" "403": @@ -97,6 +99,8 @@ delete: responses: "204": description: Successfully removed the mapping, or there was no mapping to remove for a key that the server is managing. + "400": + $ref: "../keymanager-oapi.yaml#/components/responses/BadRequest" "401": $ref: "../keymanager-oapi.yaml#/components/responses/Unauthorized" "403":