op.ifPresent(getInputsValues::remove);
}
inputValue.setGetInputValues(getInputsValues);
+ if (CollectionUtils.isEmpty(inputValue.getGetInputValues()) && inputValue.getToscaFunction() != null) {
+ inputValue.setToscaFunction(null);
+ }
return deleteEither;
}