ResponseEntity<String>deleteToscaTemplateByID(@ApiParam(value="ID of topology template to return",required=true)@PathVariable("id")Stringid,@ApiParam(value="The node(s) to delete")@Valid@RequestParam(value="node_name",required=false)List<String>nodeName);
...
...
@@ -54,7 +54,7 @@ public interface ToscaTemplateApi {
@ApiResponse(code=404,message="ToscaTemplate not found")
ResponseEntity<String>userLoginGet(@NotNull@ApiParam(value="The user name for login",required=true)@Valid@RequestParam(value="username",required=true)Stringusername,@NotNull@ApiParam(value="The password for login in clear text",required=true)@Valid@RequestParam(value="password",required=true)Stringpassword);
...
...
@@ -53,7 +48,7 @@ public interface UserApi {
@ApiOperation(value="Logs out current logged in user session",nickname="userLogoutGet",notes="",tags={})
ResponseEntity<User>userUsernameGet(@ApiParam(value="The name that needs to be fetched. Use user1 for testing. ",required=true)@PathVariable("username")Stringusername);
...
...
@@ -96,7 +91,7 @@ public interface UserApi {
@ApiResponses(value={
@ApiResponse(code=400,message="Invalid user supplied"),
@ApiResponse(code=404,message="User not found")})
@RequestMapping(value="/user/{username}",
@RequestMapping(value="/manager/user/{username}",
produces={"application/json"},
method=RequestMethod.PUT)
ResponseEntity<Void>userUsernamePut(@ApiParam(value="name that need to be updated",required=true)@PathVariable("username")Stringusername,@ApiParam(value="Updated user object",required=true)@Valid@RequestBodyUserbody);