forked from loafle/openapi-generator-original
* [Java] add missing nullable judgement when required property is true * [Java] add okhttp template test and regenerate sample * [Java] add tests when field is nullable and required * [Java] regenerate samples to fix pipeline error * [Java] add JSONTest fro RequiredNullableBody class * run generate-samples after rebase * review feedback * review feedback * fix test * update hash of test file --------- Co-authored-by: weirdo0314 <2019215183@stu.cqupt.edu.cn>
967 B
967 B
RequiredNullableBody
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| integerProp | Integer | ||
| numberProp | BigDecimal | ||
| booleanProp | Boolean | ||
| stringProp | String | ||
| dateProp | LocalDate | ||
| datetimeProp | OffsetDateTime | ||
| arrayNullableProp | List<Object> | ||
| arrayAndItemsNullableProp | List<Object> | ||
| arrayItemsNullable | List<Object> | ||
| objectNullableProp | Map<String, Object> | ||
| objectAndItemsNullableProp | Map<String, Object> | ||
| objectItemsNullable | Map<String, Object> | ||
| customRefEnum | NullableEnum | ||
| customEnum | CustomEnumEnum |
Enum: CustomEnumEnum
| Name | Value |
|---|---|
| CUSTOM | "custom" |