mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
ddc309ec19
* Add support for Spring's RestTemplate in Java client codegen Resolves #1176 * Update all Java samples to include change for Jackson enums Currently enums are deserialized from a String value with an explicit @JsonCreator. However, they are not being serialized with this String value. This change introduces the @JsonValue annotation on the toString() method of enums, so they will be serialized as a String with the correct value.
112 B
112 B
EnumClass
Enum
-
_ABC
(value:"_abc"
) -
_EFG
(value:"-efg"
) -
_XYZ_
(value:"(xyz)"
)