We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feature
No
No response
在使用openapi生成接口的doc时候,部分接口的operationId字段会有下划线后缀,导致前端在依赖该json生成代码时候导致一些方法名称携带了1或2的名称后缀,这类问题的解决办法是什么样
The text was updated successfully, but these errors were encountered:
使用的是什么工具,有可能生成工具检测到有两个操作名为getUsers,它可能会为第二个操作生成一个getUsers_1的operationId。 如果你不希望生成的operationId带有下划线后缀,可以检查生成工具的配置选项,看是否可以自定义operationId的生成规则。如果生成工具没有提供这样的配置选项,你可能需要在生成后手动修改
Sorry, something went wrong.
这块使用咱们项目里面配置的 openapi,然后打开了对应的配置,这块咱们原来是有配置的规则吗
zimu-yuxi
No branches or pull requests
Issue Type
Feature
Have you searched for existing issues?
No
Link to Relevant Documentation
No response
Question Details
The text was updated successfully, but these errors were encountered: