Skip to content

Commit

Permalink
Deprecate JsonGen base64 encoding basic option.
Browse files Browse the repository at this point in the history
Motivation:

Legacy Buffer base64 encoding stemming from Vert.x 3 is deprecated in Vert.x 4.x

Changes:

Deprecate the base64Type member of the @JsonGen annotation.
  • Loading branch information
vietj committed Oct 7, 2024
1 parent e4b9928 commit 532142d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/io/vertx/codegen/json/annotations/JsonGen.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
* </ul>
*
* @return if generated converters are enabled, buffers should default to the configured type.
* @deprecated avoid using this attribute which defaults to {@code base64url} which is the only type supported in Vert.x 5
*/
@Deprecated
String base64Type() default "";
}

0 comments on commit 532142d

Please sign in to comment.