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

Unable to recognize the "openAPI" entry as the name of a Cmdlet, function, script file, or executable program. Please check the spelling of the name, if it includes Path, please make sure the path is correct and try again. #2059

Closed
Gkibify opened this issue Mar 8, 2024 · 7 comments · Fixed by hey-api/openapi-ts#64

Comments

@Gkibify
Copy link

Gkibify commented Mar 8, 2024

When I execute the command openAPI -- input http://localhost:7529/api/v3/api -Docs -- output/ Generated -- client axes, the following error will appear
image

@mrlubos
Copy link
Collaborator

mrlubos commented Mar 8, 2024

@Zixueban is this a duplicate of #2010?

@Gkibify
Copy link
Author

Gkibify commented Mar 9, 2024

@Zixueban is this a duplicate of #2010?

Thank you very much. The issue has been resolved

@mrlubos
Copy link
Collaborator

mrlubos commented Mar 9, 2024

@Zixueban why was it failing for you? Can you share which package it was conflicting with?

@Gkibify
Copy link
Author

Gkibify commented Mar 10, 2024

@mrlubos I'm not sure, the previous usage was fine, but after a while, inexplicably, the problem arose. I tried the method provided in # 2010 and it was resolved

@mrlubos
Copy link
Collaborator

mrlubos commented Mar 10, 2024

@Zixueban great! I plan to fix this properly in @nicolas-chaulet/openapi-typescript-codegen, can I ping you once it's fixed to give it a try?

@Gkibify
Copy link
Author

Gkibify commented Mar 11, 2024

@mrlubos great!Thank you very much

@mrlubos
Copy link
Collaborator

mrlubos commented Mar 17, 2024

@Zixueban this is fixed in v0.27.29 🎉

Please use openapi-ts moving forward!

@evgarthub evgarthub closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants