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

Allow passing classloader to DefinitionGenerator #497

Open
GithubUser8080 opened this issue Aug 26, 2022 · 1 comment
Open

Allow passing classloader to DefinitionGenerator #497

GithubUser8080 opened this issue Aug 26, 2022 · 1 comment

Comments

@GithubUser8080
Copy link

Currently DefinitionGenerator uses its own classloader to find classes. In the case of using this plugin at runtime (not scala task), in a play-dev application, the swagger generator is loaded by the dependency classloader that cannot find the user classes in app/mypackage ... etc

Since there is already a classloader argument, could this be passed to the definition generator too, to be used in runTimeMirror(myClassloader)? Thanks

@Javakky-pxv
Copy link
Collaborator

@GithubUser8080
We are currently reviewing it. It may take some time, but we plan to address it.

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

2 participants