module Data.API.API.Gen where
import Data.API.API.DSL
import Data.API.Tools
import Language.Haskell.TH
$(generate apiAPI)
$(generateAPITools apiAPI
[ enumTool
, jsonTool'
, cborTool
, deepSeqTool
, quickCheckTool
, lensTool
, safeCopyTool
, exampleTool
, samplesTool (mkName "apiAPISamples")
, jsonTestsTool (mkName "apiAPITestsJSON")
, cborTestsTool (mkName "apiAPITestsCBOR")
, cborToJSONTestsTool 'apiAPI (mkName "apiAPITestsCBORToJSON")
, jsonToCBORTestsTool 'apiAPI (mkName "apiAPITestsJSONToCBOR")
])