mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-10 15:54:18 +00:00
* 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.
583 B
583 B
Order
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | [optional] | |
| petId | Long | [optional] | |
| quantity | Integer | [optional] | |
| shipDate | DateTime | [optional] | |
| status | StatusEnum | Order Status | [optional] |
| complete | Boolean | [optional] |
Enum: StatusEnum
| Name | Value |
|---|---|
| PLACED | "placed" |
| APPROVED | "approved" |
| DELIVERED | "delivered" |