Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
OpenApi implementation of QueryParam
trait.
Orphan instances
(KnownSymbol name, ToSchema val, TraitAbsence (QueryParam 'Optional ps name val) Request) => Get (OpenApiHandler m :: TYPE LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) (QueryParam 'Optional ps name val) Request Source # | |
getTrait :: forall (ts :: [Type]). QueryParam 'Optional ps name val -> OpenApiHandler m (With Request ts) (Either (Absence (QueryParam 'Optional ps name val) Request) (Attribute (QueryParam 'Optional ps name val) Request)) # | |
(KnownSymbol name, ToSchema val, TraitAbsence (QueryParam 'Required ps name val) Request) => Get (OpenApiHandler m :: TYPE LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) (QueryParam 'Required ps name val) Request Source # | |
getTrait :: forall (ts :: [Type]). QueryParam 'Required ps name val -> OpenApiHandler m (With Request ts) (Either (Absence (QueryParam 'Required ps name val) Request) (Attribute (QueryParam 'Required ps name val) Request)) # |