chenshuai2144 / openapi2typescript

一个被大范围使用的小工具
297 stars 133 forks source link

1.9.2版本带来破坏性更新,强制将生成的文件名称变成小驼峰格式导致原来是大驼峰格式的Controller报找不到文件 #127

Open Tronsfey opened 7 months ago

Tronsfey commented 7 months ago

https://github.com/chenshuai2144/openapi2typescript/pull/124/commits/5f45293973bb14d090a9d3d7a76ebb9ab8946585

比如: CommonController -> commonController SystemController -> systemController

是否应该提供配置出来是大驼峰还是小驼峰的格式? 毕竟SpringBoot的Controller是大驼峰的规范

rookie-luochao commented 7 months ago

已经增加参数支持使用小驼峰命名或者默认命名,关联pr #129