|
| 1 | +/* |
| 2 | + * Unit OpenAPI specifications |
| 3 | + * An OpenAPI specifications for unit-sdk clients |
| 4 | + * |
| 5 | + * The version of the OpenAPI document: 0.1.0 |
| 6 | + * |
| 7 | + * |
| 8 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 9 | + * https://openapi-generator.tech |
| 10 | + * Do not edit the class manually. |
| 11 | + */ |
| 12 | + |
| 13 | + |
1 | 14 | package unit.java.sdk; |
2 | 15 |
|
3 | 16 | import com.fasterxml.jackson.annotation.*; |
|
13 | 26 | import java.util.Map; |
14 | 27 | import java.util.Set; |
15 | 28 |
|
16 | | -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.5.0") |
| 29 | +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") |
17 | 30 | public class JSON { |
18 | 31 | private ObjectMapper mapper; |
19 | 32 |
|
20 | 33 | public JSON() { |
21 | 34 | mapper = JsonMapper.builder() |
22 | 35 | .serializationInclusion(JsonInclude.Include.NON_NULL) |
23 | 36 | .disable(MapperFeature.ALLOW_COERCION_OF_SCALARS) |
24 | | - .enable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES) |
| 37 | + .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES) |
25 | 38 | .enable(DeserializationFeature.FAIL_ON_INVALID_SUBTYPE) |
26 | 39 | .disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) |
27 | 40 | .enable(SerializationFeature.WRITE_ENUMS_USING_TO_STRING) |
@@ -69,7 +82,7 @@ public static Class<?> getClassForElement(JsonNode node, Class<?> modelClass) { |
69 | 82 | /** |
70 | 83 | * Helper class to register the discriminator mappings. |
71 | 84 | */ |
72 | | - @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.5.0") |
| 85 | + @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") |
73 | 86 | private static class ClassDiscriminatorMapping { |
74 | 87 | // The model class name. |
75 | 88 | Class<?> modelClass; |
|
0 commit comments