webgear-openapi-1.1.1: Composable, type-safe library to build HTTP API servers
Safe HaskellSafe-Inferred
LanguageHaskell2010

WebGear.OpenApi.Trait.Path

Description

OpenApi implementation of path traits.

Orphan instances

Get (OpenApiHandler m :: TYPE LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) Path Request Source # 
Instance details

Get (OpenApiHandler m :: TYPE LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) PathEnd Request Source # 
Instance details

(KnownSymbol tag, ToSchema val) => Get (OpenApiHandler m :: TYPE LiftedRep -> TYPE LiftedRep -> TYPE LiftedRep) (PathVar tag val) Request Source # 
Instance details

Methods

getTrait :: forall (ts :: [Type]). PathVar tag val -> OpenApiHandler m (With Request ts) (Either (Absence (PathVar tag val) Request) (Attribute (PathVar tag val) Request)) #