Safe Haskell | None |
---|
These modules allow you to define a single REST resource. Then, you can combine multiple resources into an API using Rest.Api, and run them using 'rest-happstack' or 'rest-snap', or generate client code or documentation using 'rest-gen'.
- module Rest.Resource
- module Rest.Schema
- module Rest.Handler
- module Rest.Dictionary.Combinators
- module Rest.Error
Documentation
Creating a Resource
.
module Rest.Resource
Defining the routing schema.
module Rest.Schema
Defining Handler
s for endpoints in the resource.
module Rest.Handler
Combinators for defining input and ouput dictionaries of handlers.
module Rest.Dictionary.Combinators
Working with errors returned from handlers.
module Rest.Error