mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-17 06:59:13 +00:00
* [java] Use @JsonFormat instead of @JsonSerialize so that JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN is respected and generates a String using BigDecimal#toPlainString instead of BigDecimal#toString * Only add Jackson @JsonFormat if properties serializeBigDecimalAsString and jackson are enabled * Do not verify if jackson is available when mapping imports as the property is not evaluated yet * Removed unused JsonSerialize and ToStringSerializer