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

可不可以增加输出路径的配置 #41

Closed
JinghuiS opened this issue Aug 14, 2020 · 2 comments
Closed

可不可以增加输出路径的配置 #41

JinghuiS opened this issue Aug 14, 2020 · 2 comments
Labels
question Further information is requested

Comments

@JinghuiS
Copy link

我们的项目输出到同一个文件很容易造成重复变量名,希望增加输出路径的配置,或者

outputFilePath(interfaceInfo) {
   return `src/api/${interfaceInfo.parsedPath.name}.ts`
}

谢谢啦,多亏你的项目,我多摸了很多鱼

@fjc0k
Copy link
Owner

fjc0k commented Aug 14, 2020

outputFilePath 可以配置在服务器、项目、分类级别的,也可以把生成函数名的函数调整下生成唯一名称。

@fjc0k fjc0k closed this as completed Aug 24, 2020
@fjc0k fjc0k added the question Further information is requested label Aug 24, 2020
@leitingx762
Copy link

outputFilePath 可以配置在服务器、项目、分类级别的,也可以把生成函数名的函数调整下生成唯一名称。

大大 方便问一下这个要怎么配置吗?没有在文档看到这个配置的说明,我想生成在分类的级别

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants