ferdikoomen / openapi-typescript-codegen

NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Gkibify opened this issue · comments

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

@Zixueban is this a duplicate of #2010?

@Zixueban is this a duplicate of #2010?

Thank you very much. The issue has been resolved

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

@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

@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?

@mrlubos great!Thank you very much

@Zixueban this is fixed in v0.27.29 🎉

Please use openapi-ts moving forward!