Skip to content

Commit

Permalink
Update swagger documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Burman committed May 13, 2015
1 parent 0356264 commit c29904b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ public void getAvailabilityMetric(@Suspended final AsyncResponse asyncResponse,

@GET
@Path("/{id}/tags")
@ApiOperation(value = "Retrieve tags associated with the metric definition.", response = Map.class)
@ApiOperation(value = "Retrieve tags associated with the metric definition.", response = String.class,
responseContainer = "Map")
@ApiResponses(value = {
@ApiResponse(code = 200, message = "Metric's tags were successfully retrieved."),
@ApiResponse(code = 204, message = "Query was successful, but no metrics were found."),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ public void getGaugeMetric(@Suspended final AsyncResponse asyncResponse,

@GET
@Path("/{id}/tags")
@ApiOperation(value = "Retrieve tags associated with the metric definition.", response = Metric.class)
@ApiOperation(value = "Retrieve tags associated with the metric definition.", response = String.class,
responseContainer = "Map")
@ApiResponses(value = {
@ApiResponse(code = 200, message = "Metric's tags were successfully retrieved."),
@ApiResponse(code = 204, message = "Query was successful, but no metrics were found."),
Expand Down

0 comments on commit c29904b

Please sign in to comment.