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

Safe HaskellNone
LanguageHaskell98

Rest.Gen.Docs

Synopsis

Documentation

data DocsContext Source

Information about the context in which a resource is contained

Constructors

DocsContext 

Fields

rootUrl :: String
 
contextVersion :: Version
 
templates :: String
 

cdiv :: String -> Html -> Html Source

cls :: String -> Attribute Source

Helper functions for generating HTML

resourcesInfo :: DocsContext -> ApiResource -> Html Source

Recursively generate information for a resource structure

row :: Html -> Html Source

writeDocs :: DocsContext -> Router m s -> String -> IO () Source