You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: ENOENT: no such file or directory, open 'C:\Users\<user>\.autorest\@autorestopenapi-to-typespec@0.7.0-dev.12\nodemodules\@autorest\openapi-to-typespec\typeSpec\resources.json'
Below is the command that we executed for DoConvert
Have successfully converted the APIs to TypeSpec format.
Our readme.md directory path had a space in the directory name. After removing the space from the directory name, it worked fine.
Before asking the question:
The conversion script from https://azure.github.io/typespec-azure/docs/category/convert-swagger-to-typespec has 2 stages.
GenerateMetadata => Completed successfully and the .cs files got generated.
DoConvert => Throws below error
Error: ENOENT: no such file or directory, open 'C:\Users\<user>\.autorest\@autorestopenapi-to-typespec@0.7.0-dev.12\nodemodules\@autorest\openapi-to-typespec\typeSpec\resources.json'
Below is the command that we executed for DoConvert
autorest --version=3.10.1 --openapi-to-typespec --isArm --use="@autorest/openapi-to-typespec@0.7.0-dev.12" --output-folder="typeSpec" .\readme.md
The text was updated successfully, but these errors were encountered: