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

Not support Spring 4.3 @Get/@PostMapping etc #204

Closed
clinker opened this issue Jul 11, 2016 · 5 comments
Closed

Not support Spring 4.3 @Get/@PostMapping etc #204

clinker opened this issue Jul 11, 2016 · 5 comments
Milestone

Comments

@clinker
Copy link

clinker commented Jul 11, 2016

Spring 4.3 comes with @GetMapping, @PostMapping, etc.
JSONDoc v2.1.5 doest not scan these annotations.

@clinker
Copy link
Author

clinker commented Jul 11, 2016

Same issue also found in:

  • SpringVerbBuilder
  • SpringQueryParamBuilder
  • SpringProducesBuilder
  • SpringPathBuilder
  • SpringHeaderBuilder
  • SpringConsumesBuilder

The reason is all of the above scan only "RequestMapping".

@clinker
Copy link
Author

clinker commented Aug 9, 2016

My solution: https://github.com/clinker/jsondoc.git

@linux-china
Copy link

please use AnnotatedElementUtils.isAnnotated() and AnnotatedElementUtils.getMergedAnnotation() to replace Java reflection api

@sitthinutk
Copy link

sitthinutk commented Jun 27, 2017

I'd love to have this feature! I'm also struggle with unscanned annotations. If It's already available in 1.2.17 please tell me how to setup scanner to scan for @GetMapping, @PostMapping, ...

@fabiomaffioletti fabiomaffioletti added this to the 1.2.19 milestone Dec 20, 2017
@fabiomaffioletti
Copy link
Owner

fabiomaffioletti commented Dec 20, 2017

Thanks guys. Released with version 1.2.19

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

No branches or pull requests

4 participants