| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Servant.Auth.Swagger
Contents
Documentation
The purpose of this package is provide the instance for 'servant-auth' combinators needed for 'servant-swagger' documentation generation.
Currently only JWT and BasicAuth are supported.
Re-export
data Auth (auths :: [*]) val #
Auth [auth1, auth2] val :> api represents an API protected *either* by
auth1 or auth2
Instances
| (AllHasSecurity xs, HasSwagger api) => HasSwagger (Auth xs r :> api :: *) # | |