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

希望@umijs/plugin-openapi增加serversPath参数 #960

Open
aihua opened this issue Dec 1, 2023 · 0 comments
Open

希望@umijs/plugin-openapi增加serversPath参数 #960

aihua opened this issue Dec 1, 2023 · 0 comments

Comments

@aihua
Copy link

aihua commented Dec 1, 2023

目前@umijs/plugin-openapi没有提供serversPath参数,通过openapi生成的代码保存在src/services/下。
同一项目中不同的开发者执行openapi生成时,已有的src/services下代码可能被重新生成而被覆盖。
为避免这种情形,现在不得不借助@umijs/openapi的serversPath参数将openapi生成的代码保存到其他目录下。

既然提供了@umi/plugin-openapi,希望@umijs/plugin-openapi增加serversPath参数,将openapi代码生成到指定的目录下。

@chenshuai2144 @sorrycc

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

No branches or pull requests

1 participant