Skip to content

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

@aihua

Description

@aihua

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

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

@chenshuai2144 @sorrycc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions