openapi-tools / swagger-maven-plugin

Maven plugin to activate the Swagger Core library to generate OpenAPI documentation.
MIT License
70 stars 45 forks source link

feat: replace reflections lib with classgraph #119

Open CarstenWickner opened 6 months ago

CarstenWickner commented 6 months ago

The reflections library is no longer maintained. There is no point in employing workarounds to the "SubTypesScanner not found issue" (for reference, one would have to build the reflections differently like here).

Instead, do the same as other libraries do: move to classgraph instead. It's faster, still being maintained, and doesn't have this annoying bug. Extra upside: no need to change the context classloader. classgraph has a more explicit classloader handling than reflections.

This fixes #96.

langecode commented 5 months ago

Thanks for the contribution. I am not using the plugin in my daily work anymore but I'll try to find the time to create a new release as soon as possible.

CarstenWickner commented 5 months ago

Hi @langecode,

Sorry to bother you again. Just wondering whether I need to create the new release myself (for use by collaborators) or do you have a rough idea, when you have time to look at this and potentially create a new official release?