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