Skip to content

Commit

Permalink
fixing issue #95: the current response for the endpoint get /states i…
Browse files Browse the repository at this point in the history
…s a dictionary a not a list. Change Swagger Response to Dictionary
  • Loading branch information
jkuenemund committed Jun 10, 2024
1 parent 985730e commit 6db5c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ paths:
200:
description: "successful operation"
schema:
type: array
items:
type: "object"
additionalProperties:
$ref: "#/definitions/State"
400:
description: "Invalid filter supplied"
Expand Down

0 comments on commit 6db5c45

Please sign in to comment.