Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 | |
Fields |
Instances
Constructors
FT_string !RegularExpression | |
FT_integer !IntRange | |
FT_utc !UTCRange |
data Conversion Source #
Constructors
Conversion | |
Fields
|
Instances
Constructors
BT_string | |
BT_binary | |
BT_boolean | |
BT_integer | |
BT_utc |
Instances
data SpecNewtype Source #
Constructors
SpecNewtype | |
Fields
|
Instances
data DefaultValue Source #
Constructors
DV_list !Int | |
DV_maybe !Int | |
DV_string !Text | |
DV_boolean !Bool | |
DV_integer !Int | |
DV_utc !UTCTime |
Instances
Constructors
Field | |
Fields
|
Constructors
SP_newtype !SpecNewtype | |
SP_record ![Field] | |
SP_union ![Field] | |
SP_enum ![Text] | |
SP_synonym !APIType |
Constructors
APINode | |
Fields
|
apiAPITestsJSONToCBOR :: [(String, Property)] Source #
apiAPITestsCBORToJSON :: [(String, Property)] Source #
apiAPITestsCBOR :: [(String, Property)] Source #
apiAPITestsJSON :: [(String, Property)] Source #
fd_default :: Lens' Field (Maybe DefaultValue) Source #
an_convert :: Lens' APINode (Maybe Conversion) Source #
_text_BasicType :: BasicType -> Text Source #