openapi-typed-0.0.0.0: Types for OpenAPI

Safe HaskellNone
LanguageHaskell2010

Data.OpenAPI.V3_0_0

Synopsis

Documentation

data Components Source #

Components schemas responses parameters examples requestBodies headers securitySchemes links callbacks x

data Info Source #

Info title version description termsOfService contact license x

Instances
Eq Info Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Info -> Info -> Bool #

(/=) :: Info -> Info -> Bool #

Show Info Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

showsPrec :: Int -> Info -> ShowS #

show :: Info -> String #

showList :: [Info] -> ShowS #

ToJSON Info Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Info Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data BoolInt Source #

Constructors

ABool Bool 
AnInt Int 
Instances
Eq BoolInt Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: BoolInt -> BoolInt -> Bool #

(/=) :: BoolInt -> BoolInt -> Bool #

Show BoolInt Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON BoolInt Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON BoolInt Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Reference Source #

Reference $ref x

data Operation Source #

Operation responses tags summary description externalDocs operationId parameters requestBody callbacks deprecated security servers x

data Items Source #

Instances
Eq Items Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Items -> Items -> Bool #

(/=) :: Items -> Items -> Bool #

Show Items Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

showsPrec :: Int -> Items -> ShowS #

show :: Items -> String #

showList :: [Items] -> ShowS #

ToJSON Items Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Items Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Contact Source #

Contact name url email x

Instances
Eq Contact Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Contact -> Contact -> Bool #

(/=) :: Contact -> Contact -> Bool #

Show Contact Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON Contact Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Contact Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Link Source #

Link operationId operationRef parameters requestBody description server x

data License Source #

License name url x

Instances
Eq License Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: License -> License -> Bool #

(/=) :: License -> License -> Bool #

Show License Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON License Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON License Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data ReferenceOr a Source #

Constructors

Ref Reference 
RealDeal a 
Instances
Eq a => Eq (ReferenceOr a) Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Show a => Show (ReferenceOr a) Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON a => ToJSON (ReferenceOr a) Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON a => FromJSON (ReferenceOr a) Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Schema Source #

Schema title multipleOf maximum exclusiveMaximum minimum exclusiveMinimum maxLength minLength pattern maxItems minItems uniqueItems maxProperties minProperties required enum allOf oneOf anyOf items properties additionalProperties description default nullable discriminator readOnly writeOnly example externalDocs deprecated xml format type not x

Instances
Eq Schema Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Schema -> Schema -> Bool #

(/=) :: Schema -> Schema -> Bool #

Show Schema Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON Schema Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Schema Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data XML Source #

XML name namespace prefix attribute wrapped x

Instances
Eq XML Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: XML -> XML -> Bool #

(/=) :: XML -> XML -> Bool #

Show XML Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

showsPrec :: Int -> XML -> ShowS #

show :: XML -> String #

showList :: [XML] -> ShowS #

ToJSON XML Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON XML Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Tag Source #

Tag name description externalDocs x

Instances
Eq Tag Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Show Tag Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

ToJSON Tag Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Tag Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Header Source #

Header description required deprecated allowEmptyValue style explode allowReserved schema content example examples x

Instances
Eq Header Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Header -> Header -> Bool #

(/=) :: Header -> Header -> Bool #

Show Header Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON Header Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Header Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Example Source #

Example summary description value externalValue x

Instances
Eq Example Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Example -> Example -> Bool #

(/=) :: Example -> Example -> Bool #

Show Example Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON Example Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Example Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

data Server Source #

Server url description variables x

Instances
Eq Server Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

Methods

(==) :: Server -> Server -> Bool #

(/=) :: Server -> Server -> Bool #

Show Server Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

ToJSON Server Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0

FromJSON Server Source # 
Instance details

Defined in Data.OpenAPI.V3_0_0