From a2ccacf864a6e7e52dd8c2ea315b6845064163b0 Mon Sep 17 00:00:00 2001 From: Salvatore Coppola Date: Mon, 9 Oct 2023 14:54:14 +0200 Subject: [PATCH] added missing @Produces annotation. --- .../internal/rest/identity/provider/IdentityRestService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/kura/org.eclipse.kura.rest.identity.provider/src/main/java/org/eclipse/kura/internal/rest/identity/provider/IdentityRestService.java b/kura/org.eclipse.kura.rest.identity.provider/src/main/java/org/eclipse/kura/internal/rest/identity/provider/IdentityRestService.java index b4557e902f9..347f30400eb 100644 --- a/kura/org.eclipse.kura.rest.identity.provider/src/main/java/org/eclipse/kura/internal/rest/identity/provider/IdentityRestService.java +++ b/kura/org.eclipse.kura.rest.identity.provider/src/main/java/org/eclipse/kura/internal/rest/identity/provider/IdentityRestService.java @@ -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");