diff --git a/src/Core/ApiClientCodeGen.Core/Generators/AutoRest/AutoRestArgumentProvider.cs b/src/Core/ApiClientCodeGen.Core/Generators/AutoRest/AutoRestArgumentProvider.cs index a5d8fbfcfb..9f380a4e24 100644 --- a/src/Core/ApiClientCodeGen.Core/Generators/AutoRest/AutoRestArgumentProvider.cs +++ b/src/Core/ApiClientCodeGen.Core/Generators/AutoRest/AutoRestArgumentProvider.cs @@ -38,7 +38,7 @@ public string GetLegacyArguments( { return AppendCommonArguments( swaggerFile, - "--version=2.0.4417 --csharp " + + "--csharp " + $"--input-file=\"{swaggerFile}\" " + $"--output-file=\"{outputFile}\" " + $"--namespace=\"{defaultNamespace}\" "); @@ -74,4 +74,4 @@ private string AppendCommonArguments( return arguments; } } -} \ No newline at end of file +}