Skip to content

ModelConverters are registered mutiple times when grouped api is used #324

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

Closed
m-kay opened this issue Jan 6, 2020 · 0 comments · Fixed by #325
Closed

ModelConverters are registered mutiple times when grouped api is used #324

m-kay opened this issue Jan 6, 2020 · 0 comments · Fixed by #325
Labels
bug Something isn't working

Comments

@m-kay
Copy link
Contributor

m-kay commented Jan 6, 2020

Because OpenApiBuilder is instantiated as prototype bean when using grouped api and ModelConverters is a singleton, the registered converters are added multiple times (for each instance of OpenApiBuilder).

m-kay added a commit to m-kay/springdoc-openapi that referenced this issue Jan 6, 2020
@bnasslahsen bnasslahsen added the bug Something isn't working label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants