Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
correct swagger response type definition (#6638)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <kai@openhab.org>
  • Loading branch information
kaikreuzer authored and maggu2810 committed Dec 6, 2018
1 parent 756055d commit f94852d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -401,7 +401,7 @@ public Response update(@HeaderParam(HttpHeaders.ACCEPT_LANGUAGE) @ApiParam(value
@Path("/{thingUID}/config")
@Consumes(MediaType.APPLICATION_JSON)
@ApiOperation(value = "Updates thing's configuration.")
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = Thing.class),
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = ThingDTO.class),
@ApiResponse(code = 400, message = "Configuration of the thing is not valid."),
@ApiResponse(code = 404, message = "Thing not found"),
@ApiResponse(code = 409, message = "Thing could not be updated as it is not editable.") })
Expand Down

0 comments on commit f94852d

Please sign in to comment.