forked from loafle/openapi-generator-original
* 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.
482 B
482 B
MapTest
Properties
Name | Type | Description | Notes |
---|---|---|---|
mapMapOfString | Map<String, Map<String, String>> | [optional] | |
mapOfEnumString | [Map<String, InnerEnum>](#Map<String, InnerEnum>) | [optional] |
Enum: Map<String, InnerEnum>
Name | Value |
---|---|
UPPER | "UPPER" |
LOWER | "lower" |