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

Comments

Projects
None yet
4 participants
@clinker

clinker commented Jul 11, 2016

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

@clinker

This comment has been minimized.

Show comment
Hide comment
@clinker

clinker 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 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

This comment has been minimized.

Show comment
Hide comment
@clinker

clinker commented Aug 9, 2016

@linux-china

This comment has been minimized.

Show comment
Hide comment
@linux-china

linux-china Feb 7, 2017

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

linux-china commented Feb 7, 2017

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

@sitthinutk

This comment has been minimized.

Show comment
Hide comment
@sitthinutk

sitthinutk 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, ...

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

This comment has been minimized.

Show comment
Hide comment
@fabiomaffioletti

fabiomaffioletti Dec 20, 2017

Owner

Thanks guys. Released with version 1.2.19

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