Skip to content

Commit

Permalink
add status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrothauer committed Feb 5, 2024
1 parent 1d4a530 commit 277b9fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Workshop'
'400':
description: city not passed or invalid (min 3 chars)
'404':
description: no workshops found

components:
schemas:
Expand Down

0 comments on commit 277b9fc

Please sign in to comment.