| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Servant.Docs.Internal.Pretty
Documentation
data PrettyJSON Source #
PrettyJSON content type.
Instances
| Accept PrettyJSON Source # | |
Defined in Servant.Docs.Internal.Pretty Methods contentType :: Proxy PrettyJSON -> MediaType # | |
| ToJSON a => MimeRender PrettyJSON a Source # | |
Defined in Servant.Docs.Internal.Pretty Methods mimeRender :: Proxy PrettyJSON -> a -> ByteString # | |
type family Pretty (api :: k) :: k where ... Source #
Replace all JSON content types with PrettyJSON.
Kind-polymorphic so it can operate on kinds * and [*].
Equations