API.Capture: Fix haddocks
This commit is contained in:
parent
939a008b67
commit
74a52df1a1
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ import GHC.TypeLits (Symbol)
|
|||
-- | Capture a value from the request path under a certain type @a@.
|
||||
--
|
||||
-- Example:
|
||||
--
|
||||
-- >>> -- GET /books/:isbn
|
||||
-- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book
|
||||
data Capture (sym :: Symbol) a
|
||||
|
|
Loading…
Reference in a new issue