swagger-0.3.0: Implementation of swagger data model

Safe HaskellNone




basic auth

api key


scope :: Text -> ScopeBuilder -> OAuth2Builder Source #

Add one scope with the given name to an OAuth2 object.

implicit :: Text -> ImplicitBuilder -> GrantTypes Source #

Construct an implicit grant type with the given login endpoint and some optional token name.

authCode :: TokenRequestEndpoint -> TokenEndpoint -> GrantTypes Source #

Construct an authentorisation code based grant type object.

token :: Text -> State (TokenName a) () Source #

end :: Monad m => m () Source #

If cases where no build steps are provided but a builder is required end can be used, e.g. defineModel "Foo" end

builder types

type ScopeSt = Common '["description"] Scope Source #