From b398c8853a70bea151dfad2f0db12dd97fc6c6b4 Mon Sep 17 00:00:00 2001 From: Rajbir Singh Date: Sat, 19 Oct 2024 23:05:12 +0200 Subject: [PATCH] PMT-4 pmt.yml adapted --- api/pmt.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/api/pmt.yml b/api/pmt.yml index 9918049..c339ada 100644 --- a/api/pmt.yml +++ b/api/pmt.yml @@ -86,12 +86,6 @@ components: text/plain: schema: type: string - NotAcceptable: - description: "Not Acceptable" - content: - text/plain: - schema: - type: string Conflict: description: "Conflict" content: @@ -184,10 +178,10 @@ paths: $ref: "#/components/responses/Unauthorized" 404: $ref: "#/components/responses/NotFound" - 406: - $ref: "#/components/responses/NotAcceptable" 409: $ref: "#/components/responses/Conflict" + 422: + $ref: "#/components/responses/UnprocessableContent" 500: $ref: "#/components/responses/InternalError" @@ -213,4 +207,4 @@ paths: schema: type: string 500: - $ref: "#/components/responses/InternalError" \ No newline at end of file + $ref: "#/components/responses/InternalError"