| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
WebGear.Swagger.Trait.Body
Contents
Description
Swagger implementation of Body trait.
Documentation
addResponseBody :: MonadState Documentation m => Definitions Schema -> MimeList -> Maybe (Referenced Schema) -> Swagger -> m Swagger Source #
Orphan instances
| Set (SwaggerHandler m :: Type -> Type -> Type) UnknownContentBody Source # | |
Methods setTrait :: forall (ts :: [Type]). UnknownContentBody -> (With Response ts -> Response -> Attribute UnknownContentBody Response -> With Response (UnknownContentBody ': ts)) -> SwaggerHandler m (With Response ts, Attribute UnknownContentBody Response) (With Response (UnknownContentBody ': ts)) # | |
| (ToSchema val, MIMEType mt) => Get (SwaggerHandler m :: Type -> Type -> Type) (Body mt val) Source # | |
| (ToSchema val, MIMEType mt) => Set (SwaggerHandler m :: Type -> Type -> Type) (Body mt val) Source # | |