From 0bc8eeffb36189e0df0d252adecc1bd392466b56 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 10 Dec 2024 22:22:37 -0800 Subject: [PATCH] openapi: set http return code according to standard --- openapi.yaml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 9145473..0c2f2d5 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -61,7 +61,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "201": description: Successful response content: application/json: @@ -119,7 +119,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -138,7 +138,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -157,7 +157,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -176,7 +176,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -195,7 +195,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -214,7 +214,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -233,7 +233,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -250,7 +250,7 @@ paths: parameters: - $ref: '#/components/parameters/SubmissionID' responses: - "200": + "204": description: Successful response default: description: General Error @@ -267,7 +267,7 @@ paths: parameters: - $ref: '#/components/parameters/SubmissionID' responses: - "200": + "204": description: Successful response default: description: General Error @@ -286,7 +286,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -309,7 +309,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "201": description: Successful response content: application/json: @@ -389,7 +389,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -407,7 +407,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -430,7 +430,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "201": description: Successful response content: application/json: @@ -481,7 +481,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error @@ -499,7 +499,7 @@ paths: security: - cookieAuth: [] responses: - "200": + "204": description: Successful response default: description: General Error