Skip to content

Commit

Permalink
Swagger docs changed error cases
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsbgt authored Jun 24, 2024
1 parent 4b853f4 commit 30400fb
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,28 @@ paths:
pnml: "<PNML XML content here>"
responses:
200:
description: Successful conversion
description: Successful Transformation
400:
description: Invalid input
description: Bad Request
403:
description: Access Forbidden
404:
description: Not Found
408:
description: Request Timeout after 60s
413:
description: Payload too large (max. 10 MB)
"/health":
get:
summary: Shows the health status of transformer.
responses:
200:
description: OK
400:
description: Bad Request
description: Bad Request
403:
description: Access Forbidden
404:
description: Not Found
408:
description: Request Timeout after 60s

0 comments on commit 30400fb

Please sign in to comment.