WebGear.Swagger.Trait.Path
Contents
Description
Swagger implementation of path traits.
Methods
getTrait :: forall (ts :: [Type]). Prerequisite Path ts Request => Path -> SwaggerHandler m (With Request ts) (Either (Absence Path Request) (Attribute Path Request)) #
getTrait :: forall (ts :: [Type]). Prerequisite PathEnd ts Request => PathEnd -> SwaggerHandler m (With Request ts) (Either (Absence PathEnd Request) (Attribute PathEnd Request)) #
getTrait :: forall (ts :: [Type]). Prerequisite (PathVar tag val) ts Request => PathVar tag val -> SwaggerHandler m (With Request ts) (Either (Absence (PathVar tag val) Request) (Attribute (PathVar tag val) Request)) #