Spring MVC - RAML Spec Synchroniser Plugin. A Maven plugin designed to Generate Server & Client code in Spring from a RAML API descriptor and conversely, a RAML API document from the SpringMVC Server implementation.
Apache License 2.0
136
stars
84
forks
source link
POST method with application/json & @RequestParam mapped to application/x-www-form-urlencoded #189
I have the following controller method;
But even though I want it to have
application/json
type, the resulting RAML has the following broken definition;When
@RequestParam
values removed, it maps back to a properapplication/json
content type endpoint, with proper schema for@RequestBody Item
typeWhy it does not generate a proper
POST
definition with bothbody
field with proper schema &queryParameters
field with the requestparams?