The Grails API Toolkit is a complete set of API tools that automates alot of the tasks needed to build your API like api docs, batch processing, generated headers, encoding and more. This also abstracts the API away from the Controller/model with a more universal API Object that can be defined with roles, rules and definitions for handling the request and response at the front controller.
grails install-plugin api-toolkit
RequirementsIMPORTANT : Please make sure to install and configure Spring Security 2.0> prior to installation.
FeaturesSome of the features in the apitoolkit include:
- API Automation
- Minimal setup: no controller annotations,extension; works with existing controllers
- Automated Batching
- Automated type conversion based on REQUEST (JSON/XML)
- API Object
- Apidoc Generation
- API Chaining
- improved perfomance
- integrated spring security for setting roles on your APIs, docs and hooks