-
Notifications
You must be signed in to change notification settings - Fork 8
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
Annotation @Parameter
does not have property title
#19
Comments
hi @b-abel ; I indeed do not see such an attribute on the latest version of the Parameter annotation on: That change was introduced by @amanda-matteucci in Perhaps it should have been I'd welcome a PR that makes that quick change, provided you both agree on the right path forward. :) |
We might also need to update rewrite-spring to have this version ?? |
Hi @santoshdahal12 ; rewrite-spring depends on rewrite-openapi, so this change should also be applied there already. |
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using the Maven command line, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
Have a project with Spring Boot 3.3 and dependency
springdoc-openapi-starter-webmvc-ui
in version 2.6.0 and a controller method annotated with@Parameter(description = "")
. The recipe will replacedescription
bytitle
. This does not compile because the interfaceio.swagger.v3.oas.annotations.Parameter
does not have a propertytitle
in the libraryswagger-annotations-jakarta
(version 2.2.22).What did you expect to see?
I expect that it does not change the existing code and leaves it like this:
What did you see instead?
Can you give me any hints in which version of OpenApi/Springdoc it is supposed to work?
The text was updated successfully, but these errors were encountered: