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