remove ToText from docs
This commit is contained in:
parent
4f558971d1
commit
b72c271c2c
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ instance OVERLAPPING_
|
||||||
-- Example:
|
-- Example:
|
||||||
--
|
--
|
||||||
-- > newtype Referer = Referer Text
|
-- > newtype Referer = Referer Text
|
||||||
-- > deriving (Eq, Show, FromHttpApiData, ToText)
|
-- > deriving (Eq, Show, FromHttpApiData)
|
||||||
-- >
|
-- >
|
||||||
-- > -- GET /view-my-referer
|
-- > -- GET /view-my-referer
|
||||||
-- > type MyApi = "view-my-referer" :> Header "Referer" Referer :> Get '[JSON] Referer
|
-- > type MyApi = "view-my-referer" :> Header "Referer" Referer :> Get '[JSON] Referer
|
||||||
|
|
Loading…
Reference in a new issue