Skip to content

Modify ResponseSupportConverter to resolve inner type #1153

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

Merged
merged 3 commits into from
May 17, 2021

Conversation

jagen31
Copy link

@jagen31 jagen31 commented Apr 28, 2021

This makes it so, given a type IgnoredWrapper<C> that you're trying to resolve, the fields of C will be resolved with AnnotatedTypes pointing to C as the parent, which wasn't happening before.

We are trying to apply properties to the parent schema of some fields, that's the use case for the change. When the parent is wrapped in some ignored wrapper, this fails due to the current behavior.

@bnasslahsen
Copy link
Collaborator

@jagen31,

Thank for your contribution.
Could you please add a related test for your change ?

@jagen31
Copy link
Author

jagen31 commented Apr 29, 2021

@bnasslahsen done

@jagen31
Copy link
Author

jagen31 commented Apr 29, 2021

oh my. 1 moment.

@jagen31
Copy link
Author

jagen31 commented Apr 29, 2021

(done now)

Copy link
Collaborator

@bnasslahsen bnasslahsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jagen31 for your contribution.

@bnasslahsen bnasslahsen merged commit 1de6335 into springdoc:master May 17, 2021
@bnasslahsen bnasslahsen added the enhancement New feature or request label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants