- Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
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)
)