You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugin version (e.g. smart-doc-maven-plugin or smart-doc-gradle-plugin):2.7.0
build tool version(maven or gradle):
Expected Behavior(您期望的结果)
I've added the parameter @PostMapping(path = "/add", name = "添加条目") to the annotation on the Controller's interface. I hope that in the generated documentation, the URL for this interface will be /add.
我在Controller的接口上的注解上加了参数 @PostMapping(path = "/add", name = "添加条目")
希望生成的doc中,此接口的URL为/add
Current Behavior(当前结果)
In the generated documentation, the URL for this interface is /添加条目.
在生成的doc中,该接口的URL为/添加条目
Possible Solution(bug解决建议)
Steps to Reproduce (Bug产生步骤,请尽量提供用例代码)
Context(Bug影响描述)
When using annotations like @RequestMapping with the path parameter, it generates incorrect documentation. @RequestMapping等注解使用 path 参数时会生成错误的doc
The text was updated successfully, but these errors were encountered:
shalousun
changed the title
@RequestMapping等注解使用 path 参数时生成的doc有误
When using annotations like @RequestMapping with the path parameter, the generated documentation is incorrect.
May 22, 2024
Your Environment(您的使用环境)
Expected Behavior(您期望的结果)
I've added the parameter
@PostMapping(path = "/add", name = "添加条目")
to the annotation on the Controller's interface. I hope that in the generated documentation, the URL for this interface will be /add.我在Controller的接口上的注解上加了参数
@PostMapping(path = "/add", name = "添加条目")
希望生成的doc中,此接口的URL为
/add
Current Behavior(当前结果)
In the generated documentation, the URL for this interface is
/添加条目
.在生成的doc中,该接口的URL为
/添加条目
Possible Solution(bug解决建议)
Steps to Reproduce (Bug产生步骤,请尽量提供用例代码)
Context(Bug影响描述)
When using annotations like @RequestMapping with the path parameter, it generates incorrect documentation.
@RequestMapping等注解使用 path 参数时会生成错误的doc
The text was updated successfully, but these errors were encountered: