schema-registry
schema-registry copied to clipboard
Json Schema generation doesn't pick up Jakarta annotations
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?
We replaced the mbknor-jackson-jsonSchema with victools/jsonschema-generator.