schema-registry icon indicating copy to clipboard operation
schema-registry copied to clipboard

Json Schema generation doesn't pick up Jakarta annotations

Open kahartma opened this issue 2 years ago • 2 comments

After upgrading to Spring Boot 3 and replacing javax with jakarta, new schemas generated from POJOs using jakarta constraints are not compatible anymore with older generated schemas. It seems to stem from the mbknor-jackson-jsonSchema dependency used in kafka-json-schema-provider only supporting javax, but not jakarta.

Is this a know problem and are there plans to support jakarta for json schema generation from POJOs?

kahartma avatar Jul 10 '23 14:07 kahartma

We replaced the mbknor-jackson-jsonSchema with victools/jsonschema-generator.

tfactor2 avatar Nov 13 '23 21:11 tfactor2