Skip to content

Commit

Permalink
Merge pull request #210 from maxl2287/add-400-bad-request-get-sessions
Browse files Browse the repository at this point in the history
add 400 - Bad Request for invalid session ID in GET & DELETE /sessions/{sessionId}
  • Loading branch information
RandyLevensalor authored Sep 11, 2023
2 parents d925900 + 7017d59 commit bcb3c75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/API_definitions/qod-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/SessionInfo"
"400":
$ref: "#/components/responses/Generic400"
"401":
$ref: "#/components/responses/Generic401"
"403":
Expand Down Expand Up @@ -275,6 +277,8 @@ paths:
responses:
"204":
description: Session deleted
"400":
$ref: "#/components/responses/Generic400"
"401":
$ref: "#/components/responses/Generic401"
"403":
Expand Down

0 comments on commit bcb3c75

Please sign in to comment.