@@ -9,6 +9,7 @@ import GHC.TypeLits (Symbol)
9-- | Capture a value from the request path under a certain type @a@.
9-- | Capture a value from the request path under a certain type @a@.
11-- Example:
11-- Example:
12-- >>> -- GET /books/:isbn
13-- >>> -- GET /books/:isbn
13-- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book
14-- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book
14data Capture (sym :: Symbol) a
15data Capture (sym :: Symbol) a