fabiomaffioletti/jsondoc — pull request #16 by massimo-coluzzi (2014-03-05 16:37:55+00:00)
Title: Added support for SpringMVC annotations and some optimization

Using the jsondoc-springmvc lib is now possible to get most of the documentation from the SpringMVC annotations. The improvement doesn't change the previous behaviour, so it also reads the JsonDoc annotations as before. If both SpringMVC and JsonDoc annotations are defined for the same element the JsonDoc annotations overwrites the SpringMVC ones. The annotations can be partially filled, in that case the information will be merged.

By the way I've added the possibility to cache the JSONDoc object int the JSONDocController to avoid to rebuild all the documentation at each request.

As minor feature I've changed the jsondoc.jsp in the jsondoc-ui lib to allow the queryString to be generated dynamically and so avoid to write all the queryString placeholders in the @ApiMethod annotation.