openapi3-3.0.1.0: OpenAPI 3.0 data model
Safe HaskellNone
LanguageHaskell2010

Data.OpenApi.Internal.Utils

Documentation

gunfoldEnum :: String -> [a] -> (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c a Source #

parseOneOf :: ToJSON a => [a] -> Value -> Parser a Source #

genericMappend :: (Generic a, GMonoid (Rep a)) => a -> a -> a Source #

class GMonoid f where Source #

Methods

gmempty :: f p Source #

gmappend :: f p -> f p -> f p Source #

Instances

Instances details
GMonoid (U1 :: Type -> Type) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Methods

gmempty :: U1 p Source #

gmappend :: U1 p -> U1 p -> U1 p Source #

SwaggerMonoid a => GMonoid (K1 i a :: Type -> Type) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Methods

gmempty :: K1 i a p Source #

gmappend :: K1 i a p -> K1 i a p -> K1 i a p Source #

(GMonoid f, GMonoid g) => GMonoid (f :*: g) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Methods

gmempty :: (f :*: g) p Source #

gmappend :: (f :*: g) p -> (f :*: g) p -> (f :*: g) p Source #

GMonoid f => GMonoid (M1 i t f) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Methods

gmempty :: M1 i t f p Source #

gmappend :: M1 i t f p -> M1 i t f p -> M1 i t f p Source #

class SwaggerMonoid m where Source #

Minimal complete definition

Nothing

Methods

swaggerMempty :: m Source #

default swaggerMempty :: Monoid m => m Source #

swaggerMappend :: m -> m -> m Source #

default swaggerMappend :: Monoid m => m -> m -> m Source #

Instances

Instances details
SwaggerMonoid Text Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

SwaggerMonoid URL Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid ExternalDocs Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Response Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Responses Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Schema Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid ParamLocation Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid OpenApiType Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Param Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid MimeList Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Operation Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid PathItem Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Components Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Info Source # 
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid [a] Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Methods

swaggerMempty :: [a] Source #

swaggerMappend :: [a] -> [a] -> [a] Source #

SwaggerMonoid (Maybe a) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Ord a => SwaggerMonoid (Set a) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

(Eq a, Hashable a) => SwaggerMonoid (InsOrdHashSet a) Source # 
Instance details

Defined in Data.OpenApi.Internal

Monoid a => SwaggerMonoid (Referenced a) Source # 
Instance details

Defined in Data.OpenApi.Internal

(Eq k, Hashable k) => SwaggerMonoid (HashMap k v) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Ord k => SwaggerMonoid (Map k v) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

Methods

swaggerMempty :: Map k v Source #

swaggerMappend :: Map k v -> Map k v -> Map k v Source #

(Eq k, Hashable k) => SwaggerMonoid (InsOrdHashMap k v) Source # 
Instance details

Defined in Data.OpenApi.Internal.Utils

SwaggerMonoid (InsOrdHashMap FilePath PathItem) Source # 
Instance details

Defined in Data.OpenApi.Internal