forked from loafle/openapi-generator-original
* [REQ][JAVA]: Add option to generate arrays with "uniqueItems" true as Sets rather than Lists - Update Java code generation to use sets instead of lists when uniqueItems is set to true - Add import resolution for sets - Add tests and fix broke tests resolve #5254 * Update Javascript, Perl, Python and Ruby to preserve current functionality. * Switch set implementation to LinkedHashSet * Fix missing import for uniqueItems used on param. * Fix missing import and return type for responses with uniqueItems * Fix default values for array of enum * Update generated samples * fix merge issue * Update generated samples Co-authored-by: William Cheng <wing328hk@gmail.com>
568 B
568 B
Pet
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | [optional] | |
| category | Category | [optional] | |
| name | String | ||
| photoUrls | Set<String> | ||
| tags | List<Tag> | [optional] | |
| status | StatusEnum | pet status in the store | [optional] |
Enum: StatusEnum
| Name | Value |
|---|---|
| AVAILABLE | "available" |
| PENDING | "pending" |
| SOLD | "sold" |