We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac4728 commit c22c184Copy full SHA for c22c184
example/src/Todo.hs
@@ -32,6 +32,7 @@ type TodoAPI
32
:<|> "todo" :> Capture "id" TodoId :> Get '[JSON] Todo
33
:<|> "todo" :> Capture "id" TodoId :> ReqBody '[JSON] Todo :> Put '[JSON] TodoId
34
:<|> "todo" :> "choices" :> MultipleChoicesInt
35
+
36
-- | API for serving @swagger.json@.
37
type SwaggerAPI = "swagger.json" :> Get '[JSON] OpenApi
38
0 commit comments