| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
WebGear.Swagger.Trait.Body
Contents
Description
Swagger implementation of Body trait.
Orphan instances
| Set (SwaggerHandler m :: TYPE LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) UnknownContentBody Response 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 LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) (Body mt val) Request Source # | |
| (ToSchema val, MIMEType mt) => Set (SwaggerHandler m :: TYPE LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) (Body mt val) Response Source # | |