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 ba30dd1 commit 0c961f6Copy full SHA for 0c961f6
servant/src/Servant/API/ContentTypes.hs
@@ -20,7 +20,7 @@
20
--
21
-- Content-Types are used in `ReqBody` and the method combinators:
22
23
--- >>> type MyEndpoint = ReqBody '[JSON, PlainText] Book :> Get '[JSON, PlainText] Book
+-- >>> type MyEndpoint = ReqBody '[JSON, PlainText] Book :> Put '[JSON, PlainText] Book
24
25
-- Meaning the endpoint accepts requests of Content-Type @application/json@
26
-- or @text/plain;charset-utf8@, and returns data in either one of those
0 commit comments