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

feat: classNameMode 支持 回调函数的形式 #185

Merged
merged 5 commits into from
Jan 10, 2024

Conversation

WangMingHua111
Copy link
Contributor

@WangMingHua111 WangMingHua111 commented Jan 8, 2024

classNameMode,当前不满足要求,添加了回调函数的形式自定义生成类名

@WangMingHua111
Copy link
Contributor Author

prettier 格式化代码导致不能通过检查,问题查找中

@Manweill
Copy link
Owner

Manweill commented Jan 8, 2024

@WangMingHua111 其实如果已经考虑自定义了,可以考虑把 operationId 也返回,这样自由度更高些

@WangMingHua111
Copy link
Contributor Author

好,我在看下怎么调整

@WangMingHua111
Copy link
Contributor Author

调整好了

@WangMingHua111
Copy link
Contributor Author

中文tag不说,还有【】此类特殊字符,才无语,重要的是竟然还改不了

@WangMingHua111
Copy link
Contributor Author

@Manweill

@Manweill
Copy link
Owner

@WangMingHua111 哈哈,我这边还有把 operationId 给占用来写描述的,更难。然后部分接口的路径又是乱拼,各种特殊字符和中文。已经无法识别。我也都准备要写自定义方法了,还好你提前提 pr,哈哈

@Manweill Manweill merged commit 19d055a into Manweill:main Jan 10, 2024
1 check passed
@Manweill
Copy link
Owner

@WangMingHua111 我好像理解错了的 pr,我以为是 requestName 的

@WangMingHua111 WangMingHua111 deleted the add_classNameTransformer branch January 16, 2025 00:56
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 this pull request may close these issues.

2 participants