diff --git a/apis/fee_recipient.yaml b/apis/fee_recipient.yaml index 5532f50..30a9bd4 100644 --- a/apis/fee_recipient.yaml +++ b/apis/fee_recipient.yaml @@ -111,10 +111,6 @@ delete: schema: $ref: "../keymanager-oapi.yaml#/components/schemas/ErrorResponse" "404": - description: The key was not found on the server, nothing to delete. - content: - application/json: - schema: - $ref: "../keymanager-oapi.yaml#/components/schemas/ErrorResponse" + $ref: "../keymanager-oapi.yaml#/components/responses/NotFound" "500": - $ref: "../keymanager-oapi.yaml#/components/responses/InternalError" \ No newline at end of file + $ref: "../keymanager-oapi.yaml#/components/responses/InternalError" diff --git a/apis/gas_limit.yaml b/apis/gas_limit.yaml index 34f4daf..b8bd339 100644 --- a/apis/gas_limit.yaml +++ b/apis/gas_limit.yaml @@ -117,10 +117,6 @@ delete: schema: $ref: "../keymanager-oapi.yaml#/components/schemas/ErrorResponse" "404": - description: The key was not found on the server, nothing to delete. - content: - application/json: - schema: - $ref: "../keymanager-oapi.yaml#/components/schemas/ErrorResponse" + $ref: "../keymanager-oapi.yaml#/components/responses/NotFound" "500": $ref: "../keymanager-oapi.yaml#/components/responses/InternalError" diff --git a/apis/graffiti.yaml b/apis/graffiti.yaml index 4454878..3c453c2 100644 --- a/apis/graffiti.yaml +++ b/apis/graffiti.yaml @@ -112,10 +112,6 @@ delete: schema: $ref: "../keymanager-oapi.yaml#/components/schemas/ErrorResponse" "404": - description: The key was not found on the server, nothing to delete. - content: - application/json: - schema: - $ref: "../keymanager-oapi.yaml#/components/schemas/ErrorResponse" + $ref: "../keymanager-oapi.yaml#/components/responses/NotFound" "500": $ref: "../keymanager-oapi.yaml#/components/responses/InternalError" diff --git a/keymanager-oapi.yaml b/keymanager-oapi.yaml index 009fe9a..a5422ab 100644 --- a/keymanager-oapi.yaml +++ b/keymanager-oapi.yaml @@ -114,7 +114,7 @@ components: schema: $ref: "#/components/schemas/ErrorResponse" NotFound: - description: "Path not found" + description: "The key was not found on the server" content: application/json: schema: