fix auto generation for operation (TODO copy annotation in case of not framework dependency)