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

fix: stops reprocessing parameters extracted from nested BeanParam #4343

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vitormelo95
Copy link

#4334 #3973

As described by the above issues, when using a nested @BeanParam, the defined parameters are shown as the bean type through the schema ref. This is not the expected behavior as we should see the schema of the inner parameters.

Debugging the DefaultParameterExtension we discovered that this is caused by applying the parent field annotations in the extracted parameters. The solution was remove this reprocessing part as we couldn't find a situation where this is necessary.

@vitormelo95 vitormelo95 changed the title fix: stops reprocessing parameters extracted from nested BeanParam #4334 fix: stops reprocessing parameters extracted from nested BeanParam Jan 4, 2023
@leolimas
Copy link

leolimas commented Jan 5, 2023

@frantuma @HugoMario hey guys can check this?

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.

None yet

2 participants