Since we drops support for AutoRest/Swagger, the only RegenerateType would be TypeSpec. Hence we can remove the parameter.
Since we drops support for AutoRest/Swagger, the only RegenerateType would be TypeSpec. Hence we can remove the parameter.