apiary-1.4.5: Simple and type safe web framework that generate web API documentation.

Safe HaskellNone
LanguageHaskell2010

Data.Apiary.Document

Synopsis

Documentation

data Documents Source

Constructors

Documents 

Fields

noGroup :: [PathDoc]
 
groups :: [(Text, [PathDoc])]
 

data Route Source

Constructors

Path Text Route 
Fetch Text TypeRep (Maybe Html) Route 
Rest Text (Maybe Html)

** with name

Any

** without name

End 

Instances

data PathDoc Source

Constructors

PathDoc 

Fields

path :: Route
 
methods :: [(Method, [MethodDoc])]
 

data QueryDoc Source

query parameters document