Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yayixu opened this issue Sep 11, 2024 · 0 comments
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

Comments

@yayixu
Copy link

yayixu commented Sep 11, 2024

*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\yayxu.autorest@microsoft.azureautorest-core@2.0.4429\nodemodules@microsoft.azure\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'.

@microsoft-github-policy-service microsoft-github-policy-service bot added 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 labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant