From a7ead58e4d7d0229a79f2ded270857007a4431e8 Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Mon, 4 Sep 2023 22:17:15 +0200 Subject: [PATCH 1/2] feat: add 400 - Bad Request for invalid session ID in GET /sessions/{sessionId} --- code/API_definitions/qod-api.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/API_definitions/qod-api.yaml b/code/API_definitions/qod-api.yaml index bd228c82a9..fab1d07ff4 100644 --- a/code/API_definitions/qod-api.yaml +++ b/code/API_definitions/qod-api.yaml @@ -244,6 +244,8 @@ paths: application/json: schema: $ref: "#/components/schemas/SessionInfo" + "400": + $ref: "#/components/responses/Generic400" "401": $ref: "#/components/responses/Generic401" "403": From 7017d59c8f466918266a8f4c6c446154b15667f2 Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Wed, 6 Sep 2023 09:12:31 +0200 Subject: [PATCH 2/2] feat: add 400 - Bad Request for invalid session ID in DELETE /sessions/{sessionId} --- code/API_definitions/qod-api.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/API_definitions/qod-api.yaml b/code/API_definitions/qod-api.yaml index fab1d07ff4..5cdc164d3d 100644 --- a/code/API_definitions/qod-api.yaml +++ b/code/API_definitions/qod-api.yaml @@ -277,6 +277,8 @@ paths: responses: "204": description: Session deleted + "400": + $ref: "#/components/responses/Generic400" "401": $ref: "#/components/responses/Generic401" "403":