Plugins You can find out about all the publicly available Grails plugins.

Api Toolkit

  • Authors: Owen Rubel
2 votes
Dependency:
compile ":api-toolkit:2.31"

 Documentation  Source  Issues

Summary

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.

Installation

grails install-plugin api-toolkit

Description

Requirements

IMPORTANT : Please make sure to install and configure Spring Security 2.0> prior to installation.

Release Notes

https://github.com/orubel/grails-api-toolkit/wiki/Release-Notes

Example Code

Menu

Features

Some 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
For usage, please see https://github.com/orubel/grails-api-toolkit/blob/master/README.md