You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code generation for generator java with a Jackson JSON library changed between 7.9.0 and 7.10.0 for enums. In 7.10.0 the generated code is invalid.
When an enum is type number there is an additional BigDecimal.valueOf inserted. This has been testet with serveral libraries:
outputImageProperties:
description: 'Here you can modify label, waybillDoc, invoice and shipment receipt properties'type: objectminProperties: 1properties:
printerDPI:
description: >- Printer DPI Resolution for X-axis and Y-axis (in DPI) for transport label and waybill document outputtype: numberenum:
- 200
- 300example: 300
Code generation for generator java with a Jackson JSON library changed between 7.9.0 and 7.10.0 for enums. In 7.10.0 the generated code is invalid.
When an enum is type number there is an additional BigDecimal.valueOf inserted. This has been testet with serveral libraries:
affected:
not affected
Degression is between 7.9.0 and 7.10.0
An example can be found here:
https://developer.dhl.com/sites/default/files/2025-01/dpdhl-express-api-2.12.1_swagger_0.yaml
In 7.10.0 this generates to
In 7.9.0 this used to be:
Generation Details
The text was updated successfully, but these errors were encountered: