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 #5017
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
*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'.
The text was updated successfully, but these errors were encountered: