We have an existing REST API build with Spring MVC. We are now spiking to see if we can use Swagger to generate internal documentation (quickly).
The problem with our REST implementation is that we do use Spring MVC to convert business objects to json, but that we have custom json converters that basically create Jettison json objects (key/values) from the business objects. There is currently no way to change this unfortunately. The same goes for input btw. It's basically always a Hashmap that we send to the client.
As we can generate the controllers and it's methods using Springfox is a good start. But we want to document the input/output as well. Is there a way to use Swagger Annotation to document the input/output models manually without reference to a Java domain class?
Alternative is that we completely write our own low level Swagger spec or look into other solution.