Skip to content

Commit

Permalink
added missing @produces annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatore-coppola committed Oct 9, 2023
1 parent 3d0b35a commit a2ccacf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public Response createUser(final UserDTO userName) {
@RolesAllowed(REST_ROLE_NAME)
@Path("/users")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public UserDTO getUser(final UserDTO userName) {
try {
logger.debug(DEBUG_MESSAGE, "getUser");
Expand Down

0 comments on commit a2ccacf

Please sign in to comment.