Open anthony-foulfoin opened 10 years ago
I've done a small fix for that: The type will be automatically retrieve if method has parameters. @RestApiParam(name="query", type="String", paramType = RestApiParamType.QUERY,description = "my query") could be: @RestApiParam(name="query", paramType = RestApiParamType.QUERY,description = "my query")
Not perfect but a good start ;-) It will be available in 0.3.
Hi,
With grails there are two ways to access url parameters :
If we use the first solution, and use restapidoc to doc the params, we must do the following :
When getting params like this, restapidoc can directly have the type and the name. It would be great if we could do something like that :
That's less boilerplate :)