swagger-codegen
swagger-codegen copied to clipboard
Java template uses an removed method(DeserializationContext.mappingException(String))
In modules/swagger-codegen/src/main/resources/javaSpring/CustomInstantDeserializer.mustache:Line 203:
throw context.mappingException("Expected type float, integer, or string.");
The com.fasterxml.jackson.databind.DeserializationContext.mappingException(String) is an expired method and has been romoved in jackson-databind:2.16.0.(Swagger-codegen depends on jackson-databind-2.17.0 & CVE-2023-35116 Vulnerabilitiy reported in jackson-databind up to 2.16)
Thanks!