-
-
Notifications
You must be signed in to change notification settings - Fork 523
Springdoc should not use LocalVariableTableParameterNameDiscoverer #2078
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
Comments
see #2028 |
can you show me the commit where you have dropped usage of LocalVariableTableParameterNameDiscoverer. I still see it used on master as well as 2.x branch, which will still produce the warning in the log. |
which version are you using ? |
@bnasslahsen - I must have been fooled by the Github search. The code on 2.x branch looks better. I am using 2.0.2 at the moment and will wait for 2.0.3, which contains the fix (?). If it won't work I'll report back. |
2.0.2 already ships the fix for not relying on LocalVariableTableParameterNameDiscoverer 2.0.3 will ntegrate few ajustements |
oh, perfect. I have just validated and yes, 2.0.2 does no longer produce the warnings. I guess I saw the warnings on a version of the software still running 2.0.0. |
Springdoc v2 still depends on deprecated LocalVariableTableParameterNameDiscoverer. As a result, Spring Boot 3.x applications log the following:
Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead ...
Springdoc should use the DefaultParameterNameDiscoverer instead.
I'll write a pull request if you agree that this is something that should be fixed in the way I have described it above.
The text was updated successfully, but these errors were encountered: