autorest icon indicating copy to clipboard operation
autorest copied to clipboard

I found the command flag --input-file do not work as expectd as I specify a input file but it trying to find another one

Open yayixu opened this issue 1 year ago • 0 comments

*src>autorest --version=2.0.4429 --input-file=sensorServiceClient2.json --csharp --output-folder=SensorServiceClient --namespace=SensorServiceClient --add-credential AutoRest code generation utility [cli version: 3.7.1; node: v18.17.1] (C) 2018 Microsoft Corporation. https://aka.ms/autorest info | AutoRest core version selected from configuration: 2.0.4429. Loading AutoRest core 'C:\Users\[email protected]@2.0.4429\[email protected]\autorest-core\dist' (2.0.4429) Loading AutoRest extension '@microsoft.azure/autorest.csharp' (~2.3.79->2.3.102) Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.55->2.3.55) FATAL: swagger-document-override/md-override-loader - FAILED FATAL: Error: Could not read 'file:///D:/Repos/IngestionManagement/src/sensorServiceClient.json'. FATAL: swagger-document/loader - FAILED FATAL: Error: Could not read 'file:///D:/Repos/IngestionManagement/src/sensorServiceClient.json'. Process() cancelled due to exception : Could not read 'file:///D:/Repos/IngestionManagement/src/sensorServiceClient.json'. Error: Could not read 'file:///D:/Repos/IngestionManagement/src/sensorServiceClient.json'.

yayixu avatar Sep 11 '24 09:09 yayixu