Docu for target type endpoints in Target API (#1185)
* add assign/unassign type endpoints to target api docs Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch.io> * fix target type creation for api rest docs test Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch.io> * fix review comments: rename tests Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch.io> * adapt test to avoid failing when translated Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch.io>
This commit is contained in:
@@ -632,7 +632,7 @@ public interface TargetManagement {
|
||||
* if TargetType with given target ID does not exist
|
||||
*/
|
||||
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_UPDATE_TARGET)
|
||||
Target assignType(@NotEmpty String controllerID, @NotNull long targetTypeId);
|
||||
Target assignType(@NotEmpty String controllerID, @NotNull Long targetTypeId);
|
||||
|
||||
/**
|
||||
* updates the {@link Target}.
|
||||
|
||||
Reference in New Issue
Block a user