You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
play2 should infer httpMethod=XX in @ApiOperation from routes #643
Is there a reason the httpMethod for an @apioperation can't be automatically determined from the play2 routes table? It already gets the URL from the routes table.
Ideally it would also automatically extract the path param name for @ApiParam and wouldn't require an extra @PathParam annotation.
public static Result test(
@ApiParam(value = "The ID", required = true, defaultValue= "1") @PathParam("id") String id)
)
Activity
0xRoch commentedon Nov 4, 2014
👍
fehguy commentedon Dec 21, 2014
confirmed this was addressed in 5d67884