diff --git a/src/main/resources/META-INF/rewrite/swagger-2.yml b/src/main/resources/META-INF/rewrite/swagger-2.yml index 852ba40..8671429 100644 --- a/src/main/resources/META-INF/rewrite/swagger-2.yml +++ b/src/main/resources/META-INF/rewrite/swagger-2.yml @@ -239,6 +239,10 @@ recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: io.swagger.annotations.ApiModelProperty newFullyQualifiedTypeName: io.swagger.v3.oas.annotations.media.Schema + - org.openrewrite.java.ChangeAnnotationAttributeName: + annotationType: io.swagger.v3.oas.annotations.Parameter + oldAttributeName: "description" + newAttributeName: "title" - org.openrewrite.java.ChangeAnnotationAttributeName: annotationType: io.swagger.v3.oas.annotations.media.Schema oldAttributeName: "value"