Skip to content

Commit c22c184

Browse files
tchoutrimaksbotan
andauthored
Update example/src/Todo.hs
Co-authored-by: Maxim Koltsov <[email protected]>
1 parent 0ac4728 commit c22c184

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/src/Todo.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type TodoAPI
3232
:<|> "todo" :> Capture "id" TodoId :> Get '[JSON] Todo
3333
:<|> "todo" :> Capture "id" TodoId :> ReqBody '[JSON] Todo :> Put '[JSON] TodoId
3434
:<|> "todo" :> "choices" :> MultipleChoicesInt
35+
3536
-- | API for serving @swagger.json@.
3637
type SwaggerAPI = "swagger.json" :> Get '[JSON] OpenApi
3738

0 commit comments

Comments
 (0)