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

Cannot run autorest from anywhere but the autorest.swift root #288

Open
tjprescott opened this issue Dec 17, 2020 · 0 comments
Open

Cannot run autorest from anywhere but the autorest.swift root #288

tjprescott opened this issue Dec 17, 2020 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.

Comments

@tjprescott
Copy link
Member

tjprescott commented Dec 17, 2020

Due to a limitation on CI, I wanted to run autorest from the swagger location like so:

autorest --input-file=swagger.json 
         --output-folder=<full_dest_path>
         --namespace=namespace
         --use=<full_path_to_autorest_swift>

This should work, but instead if fails:

[26.35 s] Writing Outputs.
  Error: ENOENT: no such file or directory, open '<full_dest_path>/Package.swift'
[26.49 s] Shutting Down.
@tjprescott tjprescott added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant