Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
Set default media type for plan resource
Browse files Browse the repository at this point in the history
  • Loading branch information
brasseld committed Jul 5, 2017
1 parent cfc28b2 commit 6b93faf
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -155,6 +155,7 @@ public Response getPlan(

@DELETE
@Path("/{plan}")
@Produces(MediaType.APPLICATION_JSON)
@ApiPermissionsRequired(ApiPermission.MANAGE_PLANS)
@ApiOperation(value = "Delete a plan",
notes = "User must have the MANAGE_PLANS permission to use this service")
Expand All @@ -179,6 +180,7 @@ public Response deletePlan(

@POST
@Path("/{plan}/_close")
@Produces(MediaType.APPLICATION_JSON)
@ApiPermissionsRequired(ApiPermission.MANAGE_PLANS)
@ApiOperation(value = "Close a plan",
notes = "User must have the MANAGE_PLANS permission to use this service")
Expand All @@ -201,6 +203,7 @@ public Response closePlan(

@POST
@Path("/{plan}/_publish")
@Produces(MediaType.APPLICATION_JSON)
@ApiPermissionsRequired(ApiPermission.MANAGE_PLANS)
@ApiOperation(value = "Publicly publish plan",
notes = "User must have the MANAGE_PLANS permission to use this service")
Expand Down

0 comments on commit 6b93faf

Please sign in to comment.