Added consumes and produces annotations
This commit is contained in:
parent
ea6fca3222
commit
dd61ba2d37
|
@ -158,6 +158,8 @@ public class ProfiledDocuments {
|
||||||
}
|
}
|
||||||
|
|
||||||
@PUT
|
@PUT
|
||||||
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
@Path("/"+InterfaceConstants.Methods.FORCE_UNLOCK+"/{"+InterfaceConstants.Parameters.PROJECT_ID+"}")
|
@Path("/"+InterfaceConstants.Methods.FORCE_UNLOCK+"/{"+InterfaceConstants.Parameters.PROJECT_ID+"}")
|
||||||
public Project forceUnlock(
|
public Project forceUnlock(
|
||||||
@PathParam(InterfaceConstants.Parameters.PROJECT_ID) String id){
|
@PathParam(InterfaceConstants.Parameters.PROJECT_ID) String id){
|
||||||
|
@ -172,6 +174,8 @@ public class ProfiledDocuments {
|
||||||
}
|
}
|
||||||
|
|
||||||
@PUT
|
@PUT
|
||||||
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
@Path("/"+InterfaceConstants.Methods.SET_PROJECT_ACCESS_POLICY+"/{"+InterfaceConstants.Parameters.PROJECT_ID+"}")
|
@Path("/"+InterfaceConstants.Methods.SET_PROJECT_ACCESS_POLICY+"/{"+InterfaceConstants.Parameters.PROJECT_ID+"}")
|
||||||
public Project setAccessPolicy(
|
public Project setAccessPolicy(
|
||||||
@PathParam(InterfaceConstants.Parameters.PROJECT_ID) String id, Access toSet){
|
@PathParam(InterfaceConstants.Parameters.PROJECT_ID) String id, Access toSet){
|
||||||
|
|
Loading…
Reference in New Issue