Created
July 23, 2015 06:11
-
-
Save jeusdi/56bba54643c509e81e31 to your computer and use it in GitHub Desktop.
Portion of Enpoint JAXRS swagger annotated interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PUT | |
@Path("{id}") | |
@ApiOperation(value = "Updates a given channel", responseHeaders = { | |
@ResponseHeader(name = "Location", description = "calls per hour allowed by the user", response = Integer.class) | |
} | |
) | |
@ApiResponses(value = { | |
@ApiResponse(code = 400, message = "Invalid channel information supplied") | |
}) | |
public abstract Response update( | |
@ApiParam(value = "id", required = true) @NotNull @PathParam("id") String channel_id, | |
@ApiParam(value = "Channel", required = true) @NotNull ChannelDTO channel); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment