api-tools-0.8.0.1: DSL for generating API boilerplate and docs

Safe HaskellNone
LanguageHaskell2010

Data.API.API.Gen

Description

This module contains datatypes generated from the DSL description of the api-tools API; they thus correspond to the types in Data.API.Types.

Documentation

newtype RegularExpression Source #

Constructors

RegularExpression 

Instances

Eq RegularExpression Source # 
Ord RegularExpression Source # 
Show RegularExpression Source # 
IsString RegularExpression Source # 
Arbitrary RegularExpression Source # 
ToJSON RegularExpression Source # 
FromJSON RegularExpression Source # 
NFData RegularExpression Source # 

Methods

rnf :: RegularExpression -> () #

SafeCopy RegularExpression Source # 
Serialise RegularExpression Source # 
Example RegularExpression Source # 
FromJSONWithErrs RegularExpression Source # 

data Conversion Source #

Constructors

Conversion 

newtype TypeRef Source #

Constructors

TypeRef 

Fields

Instances

Eq TypeRef Source # 

Methods

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

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

Ord TypeRef Source # 
Show TypeRef Source # 
IsString TypeRef Source # 

Methods

fromString :: String -> TypeRef #

Arbitrary TypeRef Source # 
ToJSON TypeRef Source # 
FromJSON TypeRef Source # 
NFData TypeRef Source # 

Methods

rnf :: TypeRef -> () #

SafeCopy TypeRef Source # 
Serialise TypeRef Source # 
Example TypeRef Source # 
FromJSONWithErrs TypeRef Source # 

data BasicType Source #

Instances

Bounded BasicType Source # 
Enum BasicType Source # 
Eq BasicType Source # 
Ord BasicType Source # 
Show BasicType Source # 
Arbitrary BasicType Source # 
ToJSON BasicType Source # 
FromJSON BasicType Source # 
NFData BasicType Source # 

Methods

rnf :: BasicType -> () #

SafeCopy BasicType Source # 
Serialise BasicType Source # 
Example BasicType Source # 
FromJSONWithErrs BasicType Source # 

data SpecNewtype Source #

Constructors

SpecNewtype 

data DefaultValue Source #