Skip to content

Conversation

@aspich
Copy link
Contributor

@aspich aspich commented Jul 27, 2017

Aspect frameworks, like AspectJ, may extend or wrap the method making the annotation not to be retrieved using "method.getAnnotations()" .

Therefore it is necessary to use the provided reflection util to capture these situations all across the reader.

This PR make uniform accross the reader the usage of the reflection util for all "apply*" methods which retrieve Swagger annotations.

…by an aspect

Api's like AspectJ may extend or wrap the method. Therefore it is necessary to use the provided reflection extension to capture these situations across the reader
@aspich aspich changed the title Use Reflection extension to capture annotations which may be hidden by an aspect. Use Reflection extension to capture annotations which are hidden by an aspect. Jul 31, 2017
@aspich aspich changed the title Use Reflection extension to capture annotations which are hidden by an aspect. BUG FIX - Use Reflection extension to capture annotations hidden by an aspect. Aug 7, 2017
@aspich
Copy link
Contributor Author

aspich commented Aug 7, 2017

adressing issue #2335

@webron webron requested a review from frantuma November 20, 2017 18:43
@pjfanning
Copy link
Contributor

@aspich could you provide a unit test?

@aspich aspich force-pushed the master branch 2 times, most recently from 1ccaa72 to ce43dca Compare February 22, 2018 16:58
@aspich
Copy link
Contributor Author

aspich commented Feb 22, 2018

@aspich
Copy link
Contributor Author

aspich commented Mar 1, 2018

@webron let me know if you need any further input.

@webron
Copy link
Contributor

webron commented Mar 1, 2018

@aspich We appreciate the PR, it's just an issue of time to review it. Hopefully not too much longer.

@aspich
Copy link
Contributor Author

aspich commented Apr 12, 2018

guys, I understand we are all busy but it's been nearly an year with this simple small PR open.... is there anything that is blocking it? @webron @pjfanning

@frantuma frantuma merged commit 932f0e1 into swagger-api:master Apr 12, 2018
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

Successfully merging this pull request may close these issues.

4 participants