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

Spring MVC mapping method parsing error #361

Closed
shalousun opened this issue Sep 30, 2022 · 0 comments
Closed

Spring MVC mapping method parsing error #361

shalousun opened this issue Sep 30, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@shalousun
Copy link
Collaborator

shalousun commented Sep 30, 2022

Your Environment (您的使用环境)

  • smart-doc version: 2.5.3
  • plugin version (e.g. smart-doc-maven-plugin or smart-doc-gradle-plugin):
  • build tool version (maven or gradle): 2.5.3

Expected Behavior (您期望的结果)

@RequestMapping(value = "startJob", method = {RequestMethod.POST, RequestMethod.GET})
@RequestMapping(value={"/loadPdf"}, method={RequestMethod.GET})

The above usage of arrays for the method in smart-doc cannot be correctly parsed.

Current Behavior (当前结果)

Possible Solution (bug解决建议)

When there are multiple methods, only the first one is taken, and the rest are discarded. Neither torna nor smart-doc supports multiple methods, nor do we recommend users to use multiple methods.

Steps to Reproduce (Bug产生步骤,请尽量提供用例代码)

Context (Bug影响描述)

@shalousun shalousun added the bug Something isn't working label Sep 30, 2022
@shalousun shalousun added this to the 2.6.0 milestone Oct 15, 2022
@shalousun shalousun changed the title Spring MVC mapping method解析错误 Spring MVC mapping method parsing error Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant