diff --git a/scim-spec/scim-spec-protocol/src/main/java/org/apache/directory/scim/protocol/BaseResourceTypeResource.java b/scim-spec/scim-spec-protocol/src/main/java/org/apache/directory/scim/protocol/BaseResourceTypeResource.java index 806a89473..725fac4d4 100644 --- a/scim-spec/scim-spec-protocol/src/main/java/org/apache/directory/scim/protocol/BaseResourceTypeResource.java +++ b/scim-spec/scim-spec-protocol/src/main/java/org/apache/directory/scim/protocol/BaseResourceTypeResource.java @@ -113,7 +113,7 @@ default Response query(@Parameter(name="attributes") @QueryParam("attributes") A * @return */ @POST - @Consumes({Constants.SCIM_CONTENT_TYPE, MediaType.APPLICATION_JSON}) + @Consumes(Constants.SCIM_CONTENT_TYPE) @Produces({Constants.SCIM_CONTENT_TYPE, MediaType.APPLICATION_JSON}) @Operation(description = "Create") @ApiResponses(value = { @@ -160,7 +160,7 @@ default Response find(@RequestBody(content = @Content(mediaType = Constants.SCIM */ @PUT @Path("{id}") - @Consumes({Constants.SCIM_CONTENT_TYPE, MediaType.APPLICATION_JSON}) + @Consumes(Constants.SCIM_CONTENT_TYPE) @Produces({Constants.SCIM_CONTENT_TYPE, MediaType.APPLICATION_JSON}) @Operation(description = "Update") @ApiResponses(value = {