Skip to content

Latest commit

 

History

History
378 lines (351 loc) · 23.2 KB

File metadata and controls

378 lines (351 loc) · 23.2 KB
 
Jan 18, 2019
Jan 18, 2019
1
---
Jan 9, 2022
Jan 9, 2022
2
title: Documentation for the java Generator
Jan 18, 2019
Jan 18, 2019
3
---
4
Jan 9, 2022
Jan 9, 2022
5
## METADATA
6
7
| Property | Value | Notes |
8
| -------- | ----- | ----- |
9
| generator name | java | pass this to the generate command after -g |
Jan 11, 2022
Jan 11, 2022
10
| generator stability | STABLE | |
Jan 9, 2022
Jan 9, 2022
11
| generator type | CLIENT | |
Jan 10, 2022
Jan 10, 2022
12
| generator language | Java | |
Jan 23, 2022
Jan 23, 2022
13
| generator default templating engine | mustache | |
Jan 9, 2022
Jan 9, 2022
14
| helpTxt | Generates a Java client library (HTTP lib: Jersey (1.x, 2.x), Retrofit (2.x), OpenFeign (10.x) and more. | |
15
16
## CONFIG OPTIONS
Oct 1, 2020
Oct 1, 2020
17
These options may be applied as additional-properties (cli) or configOptions (plugins). Refer to [configuration docs](https://openapi-generator.tech/docs/configuration) for more details.
18
Jan 18, 2019
Jan 18, 2019
19
| Option | Description | Values | Default |
20
| ------ | ----------- | ------ | ------- |
Mar 4, 2021
Mar 4, 2021
21
|additionalEnumTypeAnnotations|Additional annotations for enum type(class level annotations)| |null|
Aug 17, 2021
Aug 17, 2021
22
|additionalModelTypeAnnotations|Additional annotations for model type(class level annotations). List separated by semicolon(;) or new line (Linux or Windows)| |null|
Nov 20, 2022
Nov 20, 2022
23
|additionalOneOfTypeAnnotations|Additional annotations for oneOf interfaces(class level annotations). List separated by semicolon(;) or new line (Linux or Windows)| |null|
Jan 18, 2019
Jan 18, 2019
24
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
Jun 6, 2023
Jun 6, 2023
25
|annotationLibrary|Select the complementary documentation annotation library.|<dl><dt>**none**</dt><dd>Do not annotate Model and Api with complementary annotations.</dd><dt>**swagger1**</dt><dd>Annotate Model and Api using the Swagger Annotations 1.x library.</dd><dt>**swagger2**</dt><dd>Annotate Model and Api using the Swagger Annotations 2.x library.</dd></dl>|none|
May 6, 2019
May 6, 2019
26
|apiPackage|package for generated api classes| |org.openapitools.client.api|
Jan 20, 2020
Jan 20, 2020
27
|artifactDescription|artifact description in generated pom.xml| |OpenAPI Java|
May 6, 2019
May 6, 2019
28
|artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |openapi-java-client|
29
|artifactUrl|artifact URL in generated pom.xml| |https://github.com/openapitools/openapi-generator|
Feb 13, 2024
Feb 13, 2024
30
|artifactVersion|artifact version in generated pom.xml. This also becomes part of the generated library's filename. If not provided, uses the version from the OpenAPI specification file. If that's also not present, uses the default value of the artifactVersion option.| |1.0.0|
May 3, 2020
May 3, 2020
31
|asyncNative|If true, async handlers will be used, instead of the sync version| |false|
Jan 20, 2020
Jan 20, 2020
32
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
33
|booleanGetterPrefix|Set booleanGetterPrefix| |get|
Oct 28, 2022
Oct 28, 2022
34
|camelCaseDollarSign|Fix camelCase when starting with $ sign. when true : $Value when false : $value| |false|
Jan 20, 2020
Jan 20, 2020
35
|caseInsensitiveResponseHeaders|Make API response's headers case-insensitive. Available on okhttp-gson, jersey2 libraries| |false|
Oct 27, 2021
Oct 27, 2021
36
|configKey|Config key in @RegisterRestClient. Default to none. Only `microprofile` supports this option.| |null|
May 7, 2024
May 7, 2024
37
|configKeyFromClassName|If true, set tag as key in @RegisterRestClient. Default to false. Only `microprofile` supports this option.| |null|
Jan 30, 2023
Jan 30, 2023
38
|containerDefaultToNull|Set containers (array, set, map) default to null| |false|
Feb 10, 2022
Feb 10, 2022
39
|dateLibrary|Option. Date library to use|<dl><dt>**joda**</dt><dd>Joda (for legacy app only)</dd><dt>**legacy**</dt><dd>Legacy java.util.Date</dd><dt>**java8-localdatetime**</dt><dd>Java 8 using LocalDateTime (for legacy app only)</dd><dt>**java8**</dt><dd>Java 8 native JSR310 (preferred for jdk 1.8+)</dd></dl>|java8|
Feb 1, 2026
Feb 1, 2026
40
|defaultToEmptyContainer|Initialize containers (array/set/map) to empty containers instead of null by default. Usage: https://github.com/OpenAPITools/openapi-generator/blob/master/docs/customization.md#default-values| |null|
May 6, 2019
May 6, 2019
41
|developerEmail|developer email in generated pom.xml| |[email protected]|
Jan 20, 2020
Jan 20, 2020
42
|developerName|developer name in generated pom.xml| |OpenAPI-Generator Contributors|
May 6, 2019
May 6, 2019
43
|developerOrganization|developer organization in generated pom.xml| |OpenAPITools.org|
44
|developerOrganizationUrl|developer organization URL in generated pom.xml| |http://openapitools.org|
Jan 19, 2026
Jan 19, 2026
45
|disableDiscriminatorJsonIgnoreProperties|Ignore discriminator field type for Jackson serialization| |false|
Jan 20, 2020
Jan 20, 2020
46
|disableHtmlEscaping|Disable HTML escaping of JSON strings when using gson (needed to avoid problems with byte[] fields)| |false|
Dec 9, 2020
Dec 9, 2020
47
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true|
Apr 13, 2020
Apr 13, 2020
48
|discriminatorCaseSensitive|Whether the discriminator value lookup should be case-sensitive or not. This option only works for Java API client| |true|
Nov 4, 2022
Nov 4, 2022
49
|documentationProvider|Select the OpenAPI documentation provider.|<dl><dt>**none**</dt><dd>Do not publish an OpenAPI specification.</dd><dt>**source**</dt><dd>Publish the original input OpenAPI specification.</dd></dl>|source|
Dec 10, 2020
Dec 10, 2020
50
|dynamicOperations|Generate operations dynamically at runtime from an OAS| |false|
Jan 20, 2020
Jan 20, 2020
51
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
Apr 27, 2025
Apr 27, 2025
52
|enumPropertyNaming|Naming convention for enum properties: 'MACRO_CASE', 'legacy' and 'original'| |MACRO_CASE|
Apr 13, 2026
Apr 13, 2026
53
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response. With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enums are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
Apr 25, 2024
Apr 25, 2024
54
|errorObjectType|Error Object type. (This option is for okhttp-gson only)| |null|
Aug 29, 2024
Aug 29, 2024
55
|failOnUnknownProperties|Fail Jackson de-serialization on unknown properties| |false|
May 14, 2024
May 14, 2024
56
|generateBuilders|Whether to generate builders for models| |false|
Mar 5, 2025
Mar 5, 2025
57
|generateClientAsBean|For resttemplate, restclient and webclient, configure whether to create `ApiClient.java` and Apis clients as bean (with `@Component` annotation).| |false|
May 1, 2024
May 1, 2024
58
|generateConstructorWithAllArgs|whether to generate a constructor for all arguments| |false|
Feb 18, 2022
Feb 18, 2022
59
|gradleProperties|Append additional Gradle properties to the gradle.properties file| |null|
Jan 20, 2020
Jan 20, 2020
60
|groupId|groupId in generated pom.xml| |org.openapitools|
May 6, 2019
May 6, 2019
61
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |false|
Sep 12, 2020
Sep 12, 2020
62
|ignoreAnyOfInEnum|Ignore anyOf keyword in enum| |false|
Mar 10, 2022
Mar 10, 2022
63
|implicitHeaders|Skip header parameters in the generated API methods using @ApiImplicitParams annotation.| |false|
64
|implicitHeadersRegex|Skip header parameters that matches given regex in the generated API methods using @ApiImplicitParams annotation. Note: this parameter is ignored when implicitHeaders=true| |null|
Jan 20, 2020
Jan 20, 2020
65
|invokerPackage|root package for generated code| |org.openapitools.client|
Mar 21, 2023
Mar 21, 2023
66
|legacyDiscriminatorBehavior|Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C# have this enabled by default).|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true|
Apr 27, 2026
Apr 27, 2026
67
|library|library template (sub-template) to use|<dl><dt>**jersey2**</dt><dd>HTTP client: Jersey client 2.25.1. JSON processing: Jackson 2.17.1</dd><dt>**jersey3**</dt><dd>HTTP client: Jersey client 3.1.1. JSON processing: Jackson 2.17.1</dd><dt>**feign**</dt><dd>HTTP client: OpenFeign 13.2.1. JSON processing: Jackson 2.17.1 or Gson 2.10.1</dd><dt>**feign-hc5**</dt><dd>HTTP client: OpenFeign 13.2.1/HttpClient5 5.4.2. JSON processing: Jackson 2.17.1 or Gson 2.10.1</dd><dt>**okhttp-gson**</dt><dd>[DEFAULT] HTTP client: OkHttp 4.11.0. JSON processing: Gson 2.10.1. Enable Parcelable models on Android using '-DparcelableModel=true'. Enable gzip request encoding using '-DuseGzipFeature=true'.</dd><dt>**retrofit2**</dt><dd>HTTP client: OkHttp 4.11.0. JSON processing: Gson 2.10.1 (Retrofit 2.5.0) or Jackson 2.17.1. Enable the RxJava adapter using '-DuseRxJava[2/3]=true'. (RxJava 1.x or 2.x or 3.x)</dd><dt>**resttemplate**</dt><dd>HTTP client: Spring RestTemplate 5.3.33 (6.2.x if `useJakartaEe=true`, 7.x.x if `useSpringBoot4=true`). JSON processing: Jackson 2.x (3.x if `useJackson3=true`)</dd><dt>**webclient**</dt><dd>HTTP client: Spring WebClient 5.1.18 (7.x.x if `useSpringBoot4=true`). JSON processing: Jackson 2.17.1 (3.x if `useJackson3=true`)</dd><dt>**restclient**</dt><dd>HTTP client: Spring RestClient 6.1.6 (7.x.x if `useSpringBoot4=true`). JSON processing: Jackson 2.17.1 (3.x if `useJackson3=true`)</dd><dt>**resteasy**</dt><dd>HTTP client: Resteasy client 4.7.6. JSON processing: Jackson 2.17.1</dd><dt>**vertx**</dt><dd>HTTP client: VertX client 3.5.2. JSON processing: Jackson 2.17.1</dd><dt>**google-api-client**</dt><dd>HTTP client: Google API client 2.2.0. JSON processing: Jackson 2.17.1</dd><dt>**rest-assured**</dt><dd>HTTP client: rest-assured 5.3.2. JSON processing: Gson 2.10.1 or Jackson 2.17.1. Only for Java 8</dd><dt>**native**</dt><dd>HTTP client: Java native HttpClient. JSON processing: Jackson 2.17.1 (3.x if `useJackson3=true`). Only for Java11+</dd><dt>**microprofile**</dt><dd>HTTP client: Microprofile client 2.0 (default, set desired version via `microprofileRestClientVersion=x.x.x`). JSON processing: JSON-B 1.0.2 or Jackson 2.17.1</dd><dt>**apache-httpclient**</dt><dd>HTTP client: Apache httpclient 5.2.1. JSON processing: Jackson 2.17.1 (3.x if `useJackson3=true`)</dd></dl>|okhttp-gson|
Jan 20, 2020
Jan 20, 2020
68
|licenseName|The name of the license| |Unlicense|
69
|licenseUrl|The URL of the license| |http://unlicense.org|
Aug 20, 2020
Aug 20, 2020
70
|microprofileFramework|Framework for microprofile. Possible values &quot;kumuluzee&quot;| |null|
Jul 16, 2025
Jul 16, 2025
71
|microprofileGlobalExceptionMapper|Should ApiExceptionMapper be annotated with @Provider making it a global exception mapper| |true|
Feb 3, 2023
Feb 3, 2023
72
|microprofileMutiny|Whether to use async types for microprofile (currently only Smallrye Mutiny is supported).| |null|
Jul 16, 2025
Jul 16, 2025
73
|microprofileRegisterExceptionMapper|Should generated API Clients be annotated with @RegisterProvider(ApiExceptionMapper.class).| |true|
Apr 20, 2022
Apr 20, 2022
74
|microprofileRestClientVersion|Version of MicroProfile Rest Client API.| |null|
Jan 20, 2020
Jan 20, 2020
75
|modelPackage|package for generated models| |org.openapitools.client.model|
Dec 3, 2024
Dec 3, 2024
76
|openApiNullable|Enable OpenAPI Jackson Nullable library. Not supported by `microprofile` library.| |true|
Jan 20, 2020
Jan 20, 2020
77
|parcelableModel|Whether to generate models for Android that implement Parcelable with the okhttp-gson library.| |false|
Jan 18, 2019
Jan 18, 2019
78
|parentArtifactId|parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect| |null|
Jan 20, 2020
Jan 20, 2020
79
|parentGroupId|parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect| |null|
Jan 18, 2019
Jan 18, 2019
80
|parentVersion|parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect| |null|
Jan 20, 2020
Jan 20, 2020
81
|performBeanValidation|Perform BeanValidation| |false|
82
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
83
|scmConnection|SCM connection in generated pom.xml| |scm:git:[email protected]:openapitools/openapi-generator.git|
84
|scmDeveloperConnection|SCM developer connection in generated pom.xml| |scm:git:[email protected]:openapitools/openapi-generator.git|
85
|scmUrl|SCM URL in generated pom.xml| |https://github.com/openapitools/openapi-generator|
86
|serializableModel|boolean - toggle &quot;implements Serializable&quot; for generated models| |false|
Aug 25, 2021
Aug 25, 2021
87
|serializationLibrary|Serialization library, default depends on value of the option library|<dl><dt>**jsonb**</dt><dd>Use JSON-B as serialization library</dd><dt>**jackson**</dt><dd>Use Jackson as serialization library</dd><dt>**gson**</dt><dd>Use Gson as serialization library</dd></dl>|null|
Feb 11, 2020
Feb 11, 2020
88
|snapshotVersion|Uses a SNAPSHOT version.|<dl><dt>**true**</dt><dd>Use a SnapShot Version</dd><dt>**false**</dt><dd>Use a Release Version</dd></dl>|null|
Jan 20, 2020
Jan 20, 2020
89
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
90
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
91
|sourceFolder|source folder for generated code| |src/main/java|
Oct 24, 2021
Oct 24, 2021
92
|supportStreaming|Support streaming endpoint (beta)| |false|
Jun 30, 2023
Jun 30, 2023
93
|supportUrlQuery|Generate toUrlQueryString in POJO (default to true). Available on `native`, `apache-httpclient` libraries.| |false|
Apr 18, 2025
Apr 18, 2025
94
|supportVertxFuture|Also generate api methods that return a vertx Future instead of taking a callback. Only `vertx` supports this option. Requires vertx 4 or greater.| |false|
Jan 26, 2022
Jan 26, 2022
95
|testOutput|Set output folder for models and APIs tests| |${project.build.directory}/generated-test-sources/openapi|
May 1, 2024
May 1, 2024
96
|useAbstractionForFiles|Use alternative types instead of java.io.File to allow passing bytes without a file on disk. Available on resttemplate, webclient, restclient, libraries| |false|
Jan 18, 2019
Jan 18, 2019
97
|useBeanValidation|Use BeanValidation API annotations| |false|
Aug 30, 2023
Aug 30, 2023
98
|useEnumCaseInsensitive|Use `equalsIgnoreCase` when String for enum comparison| |false|
Jan 18, 2019
Jan 18, 2019
99
|useGzipFeature|Send gzip-encoded requests| |false|
Apr 27, 2026
Apr 27, 2026
100
|useJackson3|Use Jackson 3 instead of Jackson 2. Supported for 'native' and 'apache-httpclient' libraries (requires Java 17+) and for Spring 'resttemplate', 'webclient', and 'restclient' libraries (require useSpringBoot4=true).| |false|
Jan 2, 2023
Jan 2, 2023
101
|useJakartaEe|whether to use Jakarta EE namespace instead of javax| |false|
Apr 8, 2026
Apr 8, 2026
102
|useJspecify|Use Jspecify for null checks. Only supported for [native, restclient, resttemplate, webclient]| |false|
Apr 5, 2022
Apr 5, 2022
103
|useOneOfDiscriminatorLookup|Use the discriminator's mapping in oneOf to speed up the model lookup. IMPORTANT: Validation (e.g. one and only one match in oneOf's schemas) will be skipped. Only jersey2, jersey3, native, okhttp-gson support this option.| |false|
Apr 12, 2023
Apr 12, 2023
104
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false|
Jan 20, 2020
Jan 20, 2020
105
|usePlayWS|Use Play! Async HTTP client (Play WS API)| |false|
Jan 18, 2019
Jan 18, 2019
106
|useReflectionEqualsHashCode|Use org.apache.commons.lang3.builder for equals and hashCode in the models. WARNING: This will fail under a security manager, unless the appropriate permissions are set up correctly and also there's potential performance impact.| |false|
Sep 26, 2023
Sep 26, 2023
107
|useRuntimeException|Use RuntimeException instead of Exception. Only jersey2, jersey3, okhttp-gson, vertx, microprofile support this option.| |false|
Jan 30, 2022
Jan 30, 2022
108
|useRxJava2|Whether to use the RxJava2 adapter with the retrofit2 library. IMPORTANT: This option has been deprecated.| |false|
109
|useRxJava3|Whether to use the RxJava3 adapter with the retrofit2 library. IMPORTANT: This option has been deprecated.| |false|
Jul 28, 2025
Jul 28, 2025
110
|useSealedOneOfInterfaces|Generate the oneOf interfaces as sealed interfaces. Only supported for WebClient and RestClient.| |false|
Jun 2, 2025
Jun 2, 2025
111
|useSingleRequestParameter|Setting this property to &quot;true&quot; will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter. ONLY native, jersey2, jersey3, okhttp-gson, microprofile, Spring RestClient, Spring WebClient support this option. Setting this property to &quot;static&quot; does the same as &quot;true&quot;, but also makes the generated arguments class static with single parameter instantiation.| |false|
Mar 4, 2026
Mar 4, 2026
112
|useSpringBoot4|Generate code and provide dependencies for use with Spring Boot 4.x.| |false|
Nov 25, 2025
Nov 25, 2025
113
|useUnaryInterceptor|If true it will generate ResponseInterceptors using a UnaryOperator. This can be usefull for manipulating the request before it gets passed, for example doing your own decryption| |false|
Apr 22, 2026
Apr 22, 2026
114
|useVertx5|Whether to use Vert.x 5 syntax.| |false|
Dec 6, 2022
Dec 6, 2022
115
|webclientBlockingOperations|Making all WebClient operations blocking(sync). Note that if on operation 'x-webclient-blocking: false' then such operation won't be sync| |false|
Jan 10, 2023
Jan 10, 2023
116
|withAWSV4Signature|whether to include AWS v4 signature support (only available for okhttp-gson library)| |false|
Jan 20, 2020
Jan 20, 2020
117
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
Jan 9, 2020
Jan 9, 2020
118
Mar 6, 2022
Mar 6, 2022
119
## SUPPORTED VENDOR EXTENSIONS
120
121
| Extension name | Description | Applicable for | Default value |
122
| -------------- | ----------- | -------------- | ------------- |
123
|x-discriminator-value|Used with model inheritance to specify value for discriminator that identifies current model|MODEL|
124
|x-implements|Ability to specify interfaces that model must implements|MODEL|empty array
125
|x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value
Mar 17, 2022
Mar 17, 2022
126
|x-tags|Specify multiple swagger tags for operation|OPERATION|null
127
|x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null
Mar 18, 2022
Mar 18, 2022
128
|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null
Mar 17, 2022
Mar 17, 2022
129
|x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null
Jun 30, 2024
Jun 30, 2024
130
|x-field-extra-annotation|List of custom annotations to be added to property|FIELD, OPERATION_PARAMETER|null
Mar 6, 2022
Mar 6, 2022
131
|x-webclient-blocking|Specifies if method for specific operation should be blocking or non-blocking(ex: return `Mono<T>/Flux<T>` or `return T/List<T>/Set<T>` & execute `.block()` inside generated method)|OPERATION|false
132
133
Jan 9, 2020
Jan 9, 2020
134
## IMPORT MAPPING
135
136
| Type/Alias | Imports |
137
| ---------- | ------- |
Jan 20, 2020
Jan 20, 2020
138
|Array|java.util.List|
Jan 9, 2020
Jan 9, 2020
139
|ArrayList|java.util.ArrayList|
140
|BigDecimal|java.math.BigDecimal|
141
|Date|java.util.Date|
142
|DateTime|org.joda.time.*|
143
|File|java.io.File|
Jan 20, 2020
Jan 20, 2020
144
|HashMap|java.util.HashMap|
May 21, 2020
May 21, 2020
145
|LinkedHashSet|java.util.LinkedHashSet|
Jan 20, 2020
Jan 20, 2020
146
|List|java.util.*|
147
|LocalDate|org.joda.time.*|
148
|LocalDateTime|org.joda.time.*|
149
|LocalTime|org.joda.time.*|
Jan 9, 2020
Jan 9, 2020
150
|Map|java.util.Map|
Jan 20, 2020
Jan 20, 2020
151
|Set|java.util.*|
152
|Timestamp|java.sql.Timestamp|
153
|URI|java.net.URI|
154
|UUID|java.util.UUID|
Jan 9, 2020
Jan 9, 2020
155
156
157
## INSTANTIATION TYPES
158
159
| Type/Alias | Instantiated By |
160
| ---------- | --------------- |
161
|array|ArrayList|
162
|map|HashMap|
May 21, 2020
May 21, 2020
163
|set|LinkedHashSet|
Jan 9, 2020
Jan 9, 2020
164
165
166
## LANGUAGE PRIMITIVES
167
Feb 11, 2020
Feb 11, 2020
168
<ul class="column-ul">
169
<li>Boolean</li>
Jan 20, 2020
Jan 20, 2020
170
<li>Double</li>
Jan 9, 2020
Jan 9, 2020
171
<li>Float</li>
Jan 20, 2020
Jan 20, 2020
172
<li>Integer</li>
Jan 9, 2020
Jan 9, 2020
173
<li>Long</li>
174
<li>Object</li>
175
<li>String</li>
Jan 20, 2020
Jan 20, 2020
176
<li>boolean</li>
177
<li>byte[]</li>
Jan 9, 2020
Jan 9, 2020
178
</ul>
179
180
## RESERVED WORDS
181
Feb 11, 2020
Feb 11, 2020
182
<ul class="column-ul">
Apr 9, 2024
Apr 9, 2024
183
<li>_</li>
Feb 11, 2020
Feb 11, 2020
184
<li>abstract</li>
Jan 9, 2020
Jan 9, 2020
185
<li>apiclient</li>
Jan 20, 2020
Jan 20, 2020
186
<li>apiexception</li>
187
<li>apiresponse</li>
188
<li>assert</li>
189
<li>boolean</li>
190
<li>break</li>
191
<li>byte</li>
Jan 9, 2020
Jan 9, 2020
192
<li>case</li>
Jan 20, 2020
Jan 20, 2020
193
<li>catch</li>
194
<li>char</li>
195
<li>class</li>
196
<li>configuration</li>
197
<li>const</li>
198
<li>continue</li>
199
<li>default</li>
200
<li>do</li>
Jan 9, 2020
Jan 9, 2020
201
<li>double</li>
Jan 20, 2020
Jan 20, 2020
202
<li>else</li>
Jan 9, 2020
Jan 9, 2020
203
<li>enum</li>
204
<li>extends</li>
Jan 16, 2022
Jan 16, 2022
205
<li>file</li>
Jan 9, 2020
Jan 9, 2020
206
<li>final</li>
Jan 20, 2020
Jan 20, 2020
207
<li>finally</li>
208
<li>float</li>
209
<li>for</li>
210
<li>goto</li>
211
<li>if</li>
Jan 9, 2020
Jan 9, 2020
212
<li>implements</li>
213
<li>import</li>
Jan 20, 2020
Jan 20, 2020
214
<li>instanceof</li>
215
<li>int</li>
Jan 9, 2020
Jan 9, 2020
216
<li>interface</li>
Jan 16, 2022
Jan 16, 2022
217
<li>list</li>
Aug 9, 2023
Aug 9, 2023
218
<li>localdate</li>
Jan 20, 2020
Jan 20, 2020
219
<li>localreturntype</li>
Aug 9, 2023
Aug 9, 2023
220
<li>localtime</li>
Jan 20, 2020
Jan 20, 2020
221
<li>localvaraccept</li>
222
<li>localvaraccepts</li>
223
<li>localvarauthnames</li>
Jan 9, 2020
Jan 9, 2020
224
<li>localvarcollectionqueryparams</li>
Jan 20, 2020
Jan 20, 2020
225
<li>localvarcontenttype</li>
226
<li>localvarcontenttypes</li>
Jan 9, 2020
Jan 9, 2020
227
<li>localvarcookieparams</li>
228
<li>localvarformparams</li>
Jan 20, 2020
Jan 20, 2020
229
<li>localvarheaderparams</li>
230
<li>localvarpath</li>
Jan 9, 2020
Jan 9, 2020
231
<li>localvarpostbody</li>
Jan 20, 2020
Jan 20, 2020
232
<li>localvarqueryparams</li>
233
<li>long</li>
234
<li>native</li>
235
<li>new</li>
236
<li>null</li>
237
<li>object</li>
Aug 9, 2023
Aug 9, 2023
238
<li>offsetdatetime</li>
Jan 20, 2020
Jan 20, 2020
239
<li>package</li>
240
<li>private</li>
241
<li>protected</li>
242
<li>public</li>
Jan 9, 2020
Jan 9, 2020
243
<li>return</li>
Jan 20, 2020
Jan 20, 2020
244
<li>short</li>
245
<li>static</li>
246
<li>strictfp</li>
247
<li>stringutil</li>
248
<li>super</li>
249
<li>switch</li>
250
<li>synchronized</li>
251
<li>this</li>
252
<li>throw</li>
253
<li>throws</li>
254
<li>transient</li>
255
<li>try</li>
256
<li>void</li>
257
<li>volatile</li>
258
<li>while</li>
Jan 9, 2020
Jan 9, 2020
259
</ul>
Feb 2, 2020
Feb 2, 2020
260
261
## FEATURE SET
262
263
264
### Client Modification Feature
265
| Name | Supported | Defined By |
266
| ---- | --------- | ---------- |
267
|BasePath|✓|ToolingExtension
268
|Authorizations|✗|ToolingExtension
269
|UserAgent|✗|ToolingExtension
Jul 5, 2020
Jul 5, 2020
270
|MockServer|✗|ToolingExtension
Feb 2, 2020
Feb 2, 2020
271
272
### Data Type Feature
273
| Name | Supported | Defined By |
274
| ---- | --------- | ---------- |
275
|Custom|✗|OAS2,OAS3
276
|Int32|✓|OAS2,OAS3
277
|Int64|✓|OAS2,OAS3
278
|Float|✓|OAS2,OAS3
279
|Double|✓|OAS2,OAS3
280
|Decimal|✓|ToolingExtension
281
|String|✓|OAS2,OAS3
282
|Byte|✓|OAS2,OAS3
283
|Binary|✓|OAS2,OAS3
284
|Boolean|✓|OAS2,OAS3
285
|Date|✓|OAS2,OAS3
286
|DateTime|✓|OAS2,OAS3
287
|Password|✓|OAS2,OAS3
288
|File|✓|OAS2
Apr 16, 2022
Apr 16, 2022
289
|Uuid|✗|
Feb 2, 2020
Feb 2, 2020
290
|Array|✓|OAS2,OAS3
Apr 16, 2022
Apr 16, 2022
291
|Null|✗|OAS3
292
|AnyType|✗|OAS2,OAS3
293
|Object|✓|OAS2,OAS3
Feb 2, 2020
Feb 2, 2020
294
|Maps|✓|ToolingExtension
295
|CollectionFormat|✓|OAS2
296
|CollectionFormatMulti|✓|OAS2
297
|Enum|✓|OAS2,OAS3
298
|ArrayOfEnum|✓|ToolingExtension
299
|ArrayOfModel|✓|ToolingExtension
300
|ArrayOfCollectionOfPrimitives|✓|ToolingExtension
301
|ArrayOfCollectionOfModel|✓|ToolingExtension
302
|ArrayOfCollectionOfEnum|✓|ToolingExtension
303
|MapOfEnum|✓|ToolingExtension
304
|MapOfModel|✓|ToolingExtension
305
|MapOfCollectionOfPrimitives|✓|ToolingExtension
306
|MapOfCollectionOfModel|✓|ToolingExtension
307
|MapOfCollectionOfEnum|✓|ToolingExtension
308
309
### Documentation Feature
310
| Name | Supported | Defined By |
311
| ---- | --------- | ---------- |
312
|Readme|✓|ToolingExtension
313
|Model|✓|ToolingExtension
314
|Api|✓|ToolingExtension
315
316
### Global Feature
317
| Name | Supported | Defined By |
318
| ---- | --------- | ---------- |
319
|Host|✓|OAS2,OAS3
320
|BasePath|✓|OAS2,OAS3
321
|Info|✓|OAS2,OAS3
322
|Schemes|✗|OAS2,OAS3
323
|PartialSchemes|✓|OAS2,OAS3
324
|Consumes|✓|OAS2
325
|Produces|✓|OAS2
326
|ExternalDocumentation|✓|OAS2,OAS3
327
|Examples|✓|OAS2,OAS3
328
|XMLStructureDefinitions|✗|OAS2,OAS3
329
|MultiServer|✗|OAS3
Feb 23, 2020
Feb 23, 2020
330
|ParameterizedServer|✓|OAS3
Feb 2, 2020
Feb 2, 2020
331
|ParameterStyling|✗|OAS3
332
|Callbacks|✗|OAS3
333
|LinkObjects|✗|OAS3
334
335
### Parameter Feature
336
| Name | Supported | Defined By |
337
| ---- | --------- | ---------- |
338
|Path|✓|OAS2,OAS3
339
|Query|✓|OAS2,OAS3
340
|Header|✓|OAS2,OAS3
341
|Body|✓|OAS2
342
|FormUnencoded|✓|OAS2
343
|FormMultipart|✓|OAS2
344
|Cookie|✓|OAS3
345
346
### Schema Support Feature
347
| Name | Supported | Defined By |
348
| ---- | --------- | ---------- |
349
|Simple|✓|OAS2,OAS3
350
|Composite|✓|OAS2,OAS3
351
|Polymorphism|✗|OAS2,OAS3
352
|Union|✗|OAS3
Apr 17, 2022
Apr 17, 2022
353
|allOf|✗|OAS2,OAS3
354
|anyOf|✗|OAS3
355
|oneOf|✗|OAS3
356
|not|✗|OAS3
Feb 2, 2020
Feb 2, 2020
357
358
### Security Feature
359
| Name | Supported | Defined By |
360
| ---- | --------- | ---------- |
Jun 6, 2023
Jun 6, 2023
361
|BasicAuth|✓|OAS2,OAS3
362
|ApiKey|✓|OAS2,OAS3
Feb 2, 2020
Feb 2, 2020
363
|OpenIDConnect|✗|OAS3
Jun 6, 2023
Jun 6, 2023
364
|BearerToken|✓|OAS3
365
|OAuth2_Implicit|✓|OAS2,OAS3
366
|OAuth2_Password|✓|OAS2,OAS3
367
|OAuth2_ClientCredentials|✓|OAS2,OAS3
368
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
369
|SignatureAuth|✓|OAS3
Dec 13, 2023
Dec 13, 2023
370
|AWSV4Signature|✓|ToolingExtension
Feb 2, 2020
Feb 2, 2020
371
372
### Wire Format Feature
373
| Name | Supported | Defined By |
374
| ---- | --------- | ---------- |
375
|JSON|✓|OAS2,OAS3
376
|XML|✓|OAS2,OAS3
377
|PROTOBUF|✗|ToolingExtension
378
|Custom|✗|OAS2,OAS3