Skip to content

fix loop when reponse inherits generic class #2271 #2280

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

Conversation

marcospds
Copy link

#2271

The code was a recursive loop when the generics of resolvableTypes are the same resolvableTypes.

Before (2.0.9):
image

After (2.1.1-SNAPSHOT fixed):
image

App of to simulation:
https://github.com/marcospds/springdoc-inherits-generic-class

@bnasslahsen
Copy link
Collaborator

bnasslahsen commented Jun 30, 2023

@marcospds,

Thank you for your contribution to the project!

Your changes has been reported to the main branch.

mpleine pushed a commit to mpleine/springdoc-openapi that referenced this pull request May 17, 2025
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.

2 participants