Skip to content

Commit

Permalink
streams REST docs #241
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart Koopmann committed Sep 23, 2013
1 parent d8d5aeb commit 7782974
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class StreamResource extends RestResource {
@ApiOperation(value = "Create a stream")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Response create(String body) {
public Response create(@ApiParam(title = "JSON body", required = true) String body) {
CreateRequest cr;
try {
cr = objectMapper.readValue(body, CreateRequest.class);
Expand Down

0 comments on commit 7782974

Please sign in to comment.