rest-gen-0.9.0.2: Documentation and client generation from rest definition.

Safe HaskellNone

Rest.Gen.Config

Documentation

data Action Source

Constructors

MakeDocs String 
MakeJS 
MakeRb 
MakeHS 

data Location Source

Constructors

Default 
Stream 
Location String 

data Config Source

Constructors

Config 

Fields

_action :: Maybe Action
 
_source :: Location
 
_target :: Location
 
_apiVersion :: String
 
_apiPrivate :: Bool
 

target :: forall cat. ArrowApply cat => Lens cat Config LocationSource

source :: forall cat. ArrowApply cat => Lens cat Config LocationSource

apiVersion :: forall cat. ArrowApply cat => Lens cat Config StringSource

apiPrivate :: forall cat. ArrowApply cat => Lens cat Config BoolSource

action :: forall cat. ArrowApply cat => Lens cat Config (Maybe Action)Source

options :: (a :-> Config) -> [OptDescr (a -> a)]Source