We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With Jersey, the / prefix is not required on method resource paths.
@GET @Path("{id}") @ApiOperation(value = "Get Account", notes = "Get Account by ID") public Account get(@PathParam("id") Long id) { return srvc.get(EntityId.fromLong(id)); }
Works as "/accounts/{id}" on Jersey, but as "/accounts{id}" on Swagger.
@GET @Path("/{id}") @ApiOperation(value = "Get Account", notes = "Get Account by ID") public Account get(@PathParam("id") Long id) { return srvc.get(EntityId.fromLong(id)); }
It is a minor issue, but following the same behavior as Jersey makes it more intuitive (and avoid few slashes in resources).
The text was updated successfully, but these errors were encountered:
fix and tests for #576
6a0d897
No branches or pull requests
With Jersey, the / prefix is not required on method resource paths.
Works as "/accounts/{id}" on Jersey, but as "/accounts{id}" on Swagger.
It is a minor issue, but following the same behavior as Jersey makes it more intuitive (and avoid few slashes in resources).
The text was updated successfully, but these errors were encountered: