Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -276,7 +276,7 @@ public interface MgmtTargetRestApi {
|
||||
description = "Cancels an active action, only active actions can be deleted. Required Permission: UPDATE_TARGET")
|
||||
@DeleteResponses
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(responseCode = METHOD_NOT_ALLOWED_405, description = "Software module is locked",
|
||||
@ApiResponse(responseCode = METHOD_NOT_ALLOWED_405, description = "Action is not in cancelling state",
|
||||
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true)))
|
||||
})
|
||||
@DeleteMapping(value = TARGETS_V1 + "/{targetId}/actions/{actionId}")
|
||||
|
||||
@@ -143,7 +143,7 @@ public interface MgmtTargetTypeRestApi {
|
||||
"Required Permission: CREATE_TARGET")
|
||||
@PostCreateResponses
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(responseCode = NOT_FOUND_404, description = "Target type not found.",
|
||||
@ApiResponse(responseCode = NOT_FOUND_404, description = "Compatible distributions sets not found.",
|
||||
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true)))
|
||||
})
|
||||
@PostMapping(value = TARGETTYPES_V1,
|
||||
|
||||
Reference in New Issue
Block a user