schema-0.0.4: Encoding-independent schemas for Haskell data types.
Safe HaskellNone
LanguageHaskell2010

Data.Schema.OpenAPI.Types

Documentation

data Tag Source #

Constructors

Tag 

Instances

Instances details
Show Tag Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

ToJSON Tag Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

FromJSON Tag Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

data Url Source #

Constructors

Url 

Instances

Instances details
Show Url Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

Methods

showsPrec :: Int -> Url -> ShowS #

show :: Url -> String #

showList :: [Url] -> ShowS #

ToJSON Url Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

FromJSON Url Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

data Info Source #

Instances

Instances details
Show Info Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

Methods

showsPrec :: Int -> Info -> ShowS #

show :: Info -> String #

showList :: [Info] -> ShowS #

ToJSON Info Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

FromJSON Info Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

data SchemaCommon a example Source #

Instances

Instances details
(Show a, Show example) => Show (SchemaCommon a example) Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

Methods

showsPrec :: Int -> SchemaCommon a example -> ShowS #

show :: SchemaCommon a example -> String #

showList :: [SchemaCommon a example] -> ShowS #

encodeCommon :: (ToJSON a, ToJSON example) => SchemaCommon a example -> [Pair] Source #

data SchemaEmpty Source #

Instances

Instances details
Show SchemaEmpty Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

newtype SchemaBoolean Source #

Instances

Instances details
Show SchemaBoolean Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

data SchemaNumber int Source #

Instances

Instances details
Show int => Show (SchemaNumber int) Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

data Path Source #

Instances

Instances details
Show Path Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

Methods

showsPrec :: Int -> Path -> ShowS #

show :: Path -> String #

showList :: [Path] -> ShowS #

ToJSON Path Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

FromJSON Path Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

data Spec Source #

Instances

Instances details
Show Spec Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

Methods

showsPrec :: Int -> Spec -> ShowS #

show :: Spec -> String #

showList :: [Spec] -> ShowS #

ToJSON Spec Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types

FromJSON Spec Source # 
Instance details

Defined in Data.Schema.OpenAPI.Types