-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hello!
Have you considered supporting servant-pagination?
From the Servant pagination recipe, one needs to manually write these 3 instances:
instance ToParamSchema (Ranges '["name"] Color) where
toParamSchema _ = -- ?
instance ToParamSchema (ContentRange '["name"] Color) where
toParamSchema _ = -- ?
instance ToParamSchema (AcceptRanges '["name"]) where
toParamSchema _ = -- ?and I am thinking that this library (or maybe a new library servant-openapi-pagination?) could provide support (default Generic instances? Or just default instance for basic types like Int, Text, etc.? I haven't thought about that in detail).
worm2fed
Metadata
Metadata
Assignees
Labels
No labels