forked from loafle/openapi-generator-original
Compare commits
8 Commits
fix-oneof-
...
8.0.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b23399f9a | ||
|
|
99ca67d703 | ||
|
|
bfc784e391 | ||
|
|
c289982848 | ||
|
|
f0f13cf932 | ||
|
|
3922973e85 | ||
|
|
29461aad1c | ||
|
|
2e69d7d950 |
@@ -8,3 +8,4 @@ additionalProperties:
|
|||||||
projectName: ts-petstore-client
|
projectName: ts-petstore-client
|
||||||
moduleName: petstore
|
moduleName: petstore
|
||||||
supportsES6: true
|
supportsES6: true
|
||||||
|
enumType: stringUnion
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ additionalProperties:
|
|||||||
npmName: ts-petstore-client
|
npmName: ts-petstore-client
|
||||||
projectName: ts-petstore-client
|
projectName: ts-petstore-client
|
||||||
moduleName: petstore
|
moduleName: petstore
|
||||||
|
enumType: stringUnion
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ additionalProperties:
|
|||||||
npmName: ts-petstore-client
|
npmName: ts-petstore-client
|
||||||
projectName: ts-petstore-client
|
projectName: ts-petstore-client
|
||||||
moduleName: petstore
|
moduleName: petstore
|
||||||
|
enumType: stringUnion
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ additionalProperties:
|
|||||||
useObjectParameters: true
|
useObjectParameters: true
|
||||||
projectName: ts-petstore-client
|
projectName: ts-petstore-client
|
||||||
moduleName: petstore
|
moduleName: petstore
|
||||||
|
enumType: stringUnion
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|enumNameSuffix|Suffix that will be appended to all enum names.| |Enum|
|
|enumNameSuffix|Suffix that will be appended to all enum names.| |Enum|
|
||||||
|enumPropertyNaming|Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original'| |PascalCase|
|
|enumPropertyNaming|Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original'| |PascalCase|
|
||||||
|enumPropertyNamingReplaceSpecialChar|Set to true to replace '-' and '+' symbols with 'minus_' and 'plus_' in enum of type string| |false|
|
|enumPropertyNamingReplaceSpecialChar|Set to true to replace '-' and '+' symbols with 'minus_' and 'plus_' in enum of type string| |false|
|
||||||
|
|enumType|Specify the enum type which should be used in the client code.|<dl><dt>**stringUnion**</dt><dd>Union of literal string types</dd><dt>**enum**</dt><dd>Typescript's [string enums](https://www.typescriptlang.org/docs/handbook/enums.html#string-enums)</dd></dl>|enum|
|
||||||
|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 enum's 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|
|
|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 enum's 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|
|
||||||
|fileContentDataType|Specifies the type to use for the content of a file - i.e. Blob (Browser, Deno) / Buffer (node)| |Buffer|
|
|fileContentDataType|Specifies the type to use for the content of a file - i.e. Blob (Browser, Deno) / Buffer (node)| |Buffer|
|
||||||
|framework|Specify the framework which should be used in the client code.|<dl><dt>**fetch-api**</dt><dd>fetch-api</dd><dt>**jquery**</dt><dd>jquery</dd></dl>|fetch-api|
|
|framework|Specify the framework which should be used in the client code.|<dl><dt>**fetch-api**</dt><dd>fetch-api</dd><dt>**jquery**</dt><dd>jquery</dd></dl>|fetch-api|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-project</artifactId>
|
<artifactId>openapi-generator-project</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<artifactId>openapi-generator-project</artifactId>
|
<artifactId>openapi-generator-project</artifactId>
|
||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# RELEASE_VERSION
|
# RELEASE_VERSION
|
||||||
openApiGeneratorVersion=7.8.0-SNAPSHOT
|
openApiGeneratorVersion=8.0.0-SNAPSHOT
|
||||||
# /RELEASE_VERSION
|
# /RELEASE_VERSION
|
||||||
|
|
||||||
# BEGIN placeholders
|
# BEGIN placeholders
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-project</artifactId>
|
<artifactId>openapi-generator-project</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# RELEASE_VERSION
|
# RELEASE_VERSION
|
||||||
openApiGeneratorVersion=7.8.0-SNAPSHOT
|
openApiGeneratorVersion=8.0.0-SNAPSHOT
|
||||||
# /RELEASE_VERSION
|
# /RELEASE_VERSION
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-project</artifactId>
|
<artifactId>openapi-generator-project</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-project</artifactId>
|
<artifactId>openapi-generator-project</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<groupId>org.openapitools</groupId>
|
<groupId>org.openapitools</groupId>
|
||||||
<artifactId>openapi-generator-project</artifactId>
|
<artifactId>openapi-generator-project</artifactId>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|||||||
@@ -75,6 +75,9 @@ public class TypeScriptClientCodegen extends AbstractTypeScriptClientCodegen imp
|
|||||||
|
|
||||||
private static final String USE_OBJECT_PARAMS_SWITCH = "useObjectParameters";
|
private static final String USE_OBJECT_PARAMS_SWITCH = "useObjectParameters";
|
||||||
private static final String USE_OBJECT_PARAMS_DESC = "Use aggregate parameter objects as function arguments for api operations instead of passing each parameter as a separate function argument.";
|
private static final String USE_OBJECT_PARAMS_DESC = "Use aggregate parameter objects as function arguments for api operations instead of passing each parameter as a separate function argument.";
|
||||||
|
private static final String ENUM_TYPE_SWITCH = "enumType";
|
||||||
|
private static final String ENUM_TYPE_SWITCH_DESC = "Specify the enum type which should be used in the client code.";
|
||||||
|
private static final String[][] ENUM_TYPES = {{"stringUnion", "Union of literal string types"}, {"enum", "Typescript's [string enums](https://www.typescriptlang.org/docs/handbook/enums.html#string-enums)"}};
|
||||||
|
|
||||||
private final Map<String, String> frameworkToHttpLibMap;
|
private final Map<String, String> frameworkToHttpLibMap;
|
||||||
|
|
||||||
@@ -137,6 +140,13 @@ public class TypeScriptClientCodegen extends AbstractTypeScriptClientCodegen imp
|
|||||||
|
|
||||||
cliOptions.add(platformOption);
|
cliOptions.add(platformOption);
|
||||||
|
|
||||||
|
CliOption enumTypeOption = new CliOption(TypeScriptClientCodegen.ENUM_TYPE_SWITCH, TypeScriptClientCodegen.ENUM_TYPE_SWITCH_DESC);
|
||||||
|
for (String[] option : TypeScriptClientCodegen.ENUM_TYPES) {
|
||||||
|
enumTypeOption.addEnum(option[0], option[1]);
|
||||||
|
}
|
||||||
|
enumTypeOption.defaultValue(ENUM_TYPES[1][0]);
|
||||||
|
cliOptions.add(enumTypeOption);
|
||||||
|
|
||||||
// Set property naming to camelCase
|
// Set property naming to camelCase
|
||||||
supportModelPropertyNaming(CodegenConstants.MODEL_PROPERTY_NAMING_TYPE.camelCase);
|
supportModelPropertyNaming(CodegenConstants.MODEL_PROPERTY_NAMING_TYPE.camelCase);
|
||||||
|
|
||||||
@@ -404,6 +414,15 @@ public class TypeScriptClientCodegen extends AbstractTypeScriptClientCodegen imp
|
|||||||
"http", httpLibName + ".ts"
|
"http", httpLibName + ".ts"
|
||||||
));
|
));
|
||||||
|
|
||||||
|
additionalProperties.putIfAbsent(ENUM_TYPE_SWITCH, ENUM_TYPES[1][0]);
|
||||||
|
Object propEnumType = additionalProperties.get(ENUM_TYPE_SWITCH);
|
||||||
|
|
||||||
|
Map<String, Boolean> enumTypes = new HashMap<>();
|
||||||
|
for (String[] option : ENUM_TYPES) {
|
||||||
|
enumTypes.put(option[0], option[0].equals(propEnumType));
|
||||||
|
}
|
||||||
|
additionalProperties.put("enumTypes", enumTypes);
|
||||||
|
|
||||||
Object propPlatform = additionalProperties.get(PLATFORM_SWITCH);
|
Object propPlatform = additionalProperties.get(PLATFORM_SWITCH);
|
||||||
if (propPlatform == null) {
|
if (propPlatform == null) {
|
||||||
propPlatform = "browser";
|
propPlatform = "browser";
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ export class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{
|
|||||||
|
|
||||||
{{#vars}}
|
{{#vars}}
|
||||||
{{#isEnum}}
|
{{#isEnum}}
|
||||||
|
{{#enumTypes}}
|
||||||
|
{{#enum}}
|
||||||
export enum {{classname}}{{enumName}} {
|
export enum {{classname}}{{enumName}} {
|
||||||
{{#allowableValues}}
|
{{#allowableValues}}
|
||||||
{{#enumVars}}
|
{{#enumVars}}
|
||||||
@@ -78,12 +80,19 @@ export enum {{classname}}{{enumName}} {
|
|||||||
{{/enumVars}}
|
{{/enumVars}}
|
||||||
{{/allowableValues}}
|
{{/allowableValues}}
|
||||||
}
|
}
|
||||||
|
{{/enum}}
|
||||||
|
{{#stringUnion}}
|
||||||
|
export type {{classname}}{{enumName}} ={{#allowableValues}}{{#values}} "{{.}}" {{^-last}}|{{/-last}}{{/values}}{{/allowableValues}};
|
||||||
|
{{/stringUnion}}
|
||||||
|
{{/enumTypes}}
|
||||||
{{/isEnum}}
|
{{/isEnum}}
|
||||||
{{/vars}}
|
{{/vars}}
|
||||||
|
|
||||||
{{/hasEnums}}
|
{{/hasEnums}}
|
||||||
{{/isEnum}}
|
{{/isEnum}}
|
||||||
{{#isEnum}}
|
{{#isEnum}}
|
||||||
|
{{#enumTypes}}
|
||||||
|
{{#enum}}
|
||||||
export enum {{classname}} {
|
export enum {{classname}} {
|
||||||
{{#allowableValues}}
|
{{#allowableValues}}
|
||||||
{{#enumVars}}
|
{{#enumVars}}
|
||||||
@@ -91,6 +100,11 @@ export enum {{classname}} {
|
|||||||
{{/enumVars}}
|
{{/enumVars}}
|
||||||
{{/allowableValues}}
|
{{/allowableValues}}
|
||||||
}
|
}
|
||||||
|
{{/enum}}
|
||||||
|
{{#stringUnion}}
|
||||||
|
export type {{classname}} ={{#allowableValues}}{{#values}} "{{.}}" {{^-last}}|{{/-last}}{{/values}}{{/allowableValues}};
|
||||||
|
{{/stringUnion}}
|
||||||
|
{{/enumTypes}}
|
||||||
{{/isEnum}}
|
{{/isEnum}}
|
||||||
{{/model}}
|
{{/model}}
|
||||||
{{/models}}
|
{{/models}}
|
||||||
2
pom.xml
2
pom.xml
@@ -15,7 +15,7 @@
|
|||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>openapi-generator-project</name>
|
<name>openapi-generator-project</name>
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
<version>7.8.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
<url>https://github.com/openapitools/openapi-generator</url>
|
<url>https://github.com/openapitools/openapi-generator</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
7.8.0-SNAPSHOT
|
8.0.0-SNAPSHOT
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap
|
|||||||
|
|
||||||
- API version: 0.1.0
|
- API version: 0.1.0
|
||||||
- SDK version: 1.0.0
|
- SDK version: 1.0.0
|
||||||
- Generator version: 7.8.0-SNAPSHOT
|
- Generator version: 8.0.0-SNAPSHOT
|
||||||
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
|
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
|
||||||
|
|
||||||
<a id="frameworks-supported"></a>
|
<a id="frameworks-supported"></a>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
7.8.0-SNAPSHOT
|
8.0.0-SNAPSHOT
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
|
|||||||
|
|
||||||
- API version: 0.1.0
|
- API version: 0.1.0
|
||||||
- Package version: 1.0.0
|
- Package version: 1.0.0
|
||||||
- Generator version: 7.8.0-SNAPSHOT
|
- Generator version: 8.0.0-SNAPSHOT
|
||||||
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
7.8.0-SNAPSHOT
|
8.0.0-SNAPSHOT
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
|
|||||||
|
|
||||||
- API version: 0.1.0
|
- API version: 0.1.0
|
||||||
- Package version: 1.0.0
|
- Package version: 1.0.0
|
||||||
- Generator version: 7.8.0-SNAPSHOT
|
- Generator version: 8.0.0-SNAPSHOT
|
||||||
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
7.8.0-SNAPSHOT
|
8.0.0-SNAPSHOT
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Echo Server API
|
|||||||
|
|
||||||
- API version: 0.1.0
|
- API version: 0.1.0
|
||||||
|
|
||||||
- Generator version: 7.8.0-SNAPSHOT
|
- Generator version: 8.0.0-SNAPSHOT
|
||||||
|
|
||||||
Echo Server API
|
Echo Server API
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ import org.openapitools.client.auth.Authentication;
|
|||||||
import org.openapitools.client.auth.HttpBasicAuth;
|
import org.openapitools.client.auth.HttpBasicAuth;
|
||||||
import org.openapitools.client.auth.HttpBearerAuth;
|
import org.openapitools.client.auth.HttpBearerAuth;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ApiClient extends JavaTimeFormatter {
|
public class ApiClient extends JavaTimeFormatter {
|
||||||
private Map<String, String> defaultHeaderMap = new HashMap<String, String>();
|
private Map<String, String> defaultHeaderMap = new HashMap<String, String>();
|
||||||
private Map<String, String> defaultCookieMap = new HashMap<String, String>();
|
private Map<String, String> defaultCookieMap = new HashMap<String, String>();
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ package org.openapitools.client;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ApiException extends Exception {
|
public class ApiException extends Exception {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import com.fasterxml.jackson.core.type.TypeReference;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public abstract class BaseApi {
|
public abstract class BaseApi {
|
||||||
|
|
||||||
protected ApiClient apiClient;
|
protected ApiClient apiClient;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
package org.openapitools.client;
|
package org.openapitools.client;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Configuration {
|
public class Configuration {
|
||||||
public static final String VERSION = "0.1.0";
|
public static final String VERSION = "0.1.0";
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import java.time.format.DateTimeParseException;
|
|||||||
* Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class.
|
* Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class.
|
||||||
* It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}.
|
* It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class JavaTimeFormatter {
|
public class JavaTimeFormatter {
|
||||||
|
|
||||||
private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
|
private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
package org.openapitools.client;
|
package org.openapitools.client;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Pair {
|
public class Pair {
|
||||||
private String name = "";
|
private String name = "";
|
||||||
private String value = "";
|
private String value = "";
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import java.text.DecimalFormat;
|
|||||||
import java.util.GregorianCalendar;
|
import java.util.GregorianCalendar;
|
||||||
import java.util.TimeZone;
|
import java.util.TimeZone;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class RFC3339DateFormat extends DateFormat {
|
public class RFC3339DateFormat extends DateFormat {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC");
|
private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC");
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.Map;
|
|||||||
/**
|
/**
|
||||||
* Representing a Server configuration.
|
* Representing a Server configuration.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ServerConfiguration {
|
public class ServerConfiguration {
|
||||||
public String URL;
|
public String URL;
|
||||||
public String description;
|
public String description;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.HashSet;
|
|||||||
/**
|
/**
|
||||||
* Representing a Server Variable for server URL template substitution.
|
* Representing a Server Variable for server URL template substitution.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ServerVariable {
|
public class ServerVariable {
|
||||||
public String description;
|
public String description;
|
||||||
public String defaultValue;
|
public String defaultValue;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ package org.openapitools.client;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class StringUtil {
|
public class StringUtil {
|
||||||
/**
|
/**
|
||||||
* Check if the given array contains the given value (with case-insensitive comparison).
|
* Check if the given array contains the given value (with case-insensitive comparison).
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.StringJoiner;
|
import java.util.StringJoiner;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class AuthApi extends BaseApi {
|
public class AuthApi extends BaseApi {
|
||||||
|
|
||||||
public AuthApi() {
|
public AuthApi() {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.StringJoiner;
|
import java.util.StringJoiner;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class BodyApi extends BaseApi {
|
public class BodyApi extends BaseApi {
|
||||||
|
|
||||||
public BodyApi() {
|
public BodyApi() {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.StringJoiner;
|
import java.util.StringJoiner;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class FormApi extends BaseApi {
|
public class FormApi extends BaseApi {
|
||||||
|
|
||||||
public FormApi() {
|
public FormApi() {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.StringJoiner;
|
import java.util.StringJoiner;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class HeaderApi extends BaseApi {
|
public class HeaderApi extends BaseApi {
|
||||||
|
|
||||||
public HeaderApi() {
|
public HeaderApi() {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.StringJoiner;
|
import java.util.StringJoiner;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class PathApi extends BaseApi {
|
public class PathApi extends BaseApi {
|
||||||
|
|
||||||
public PathApi() {
|
public PathApi() {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.StringJoiner;
|
import java.util.StringJoiner;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class QueryApi extends BaseApi {
|
public class QueryApi extends BaseApi {
|
||||||
|
|
||||||
public QueryApi() {
|
public QueryApi() {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import org.openapitools.client.Pair;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ApiKeyAuth implements Authentication {
|
public class ApiKeyAuth implements Authentication {
|
||||||
private final String location;
|
private final String location;
|
||||||
private final String paramName;
|
private final String paramName;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import java.nio.charset.StandardCharsets;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class HttpBasicAuth implements Authentication {
|
public class HttpBasicAuth implements Authentication {
|
||||||
private String username;
|
private String username;
|
||||||
private String password;
|
private String password;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import java.util.Map;
|
|||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class HttpBearerAuth implements Authentication {
|
public class HttpBearerAuth implements Authentication {
|
||||||
private final String scheme;
|
private final String scheme;
|
||||||
private Supplier<String> tokenSupplier;
|
private Supplier<String> tokenSupplier;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import java.util.StringJoiner;
|
|||||||
Bird.JSON_PROPERTY_SIZE,
|
Bird.JSON_PROPERTY_SIZE,
|
||||||
Bird.JSON_PROPERTY_COLOR
|
Bird.JSON_PROPERTY_COLOR
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Bird {
|
public class Bird {
|
||||||
public static final String JSON_PROPERTY_SIZE = "size";
|
public static final String JSON_PROPERTY_SIZE = "size";
|
||||||
private String size;
|
private String size;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import java.util.StringJoiner;
|
|||||||
Category.JSON_PROPERTY_ID,
|
Category.JSON_PROPERTY_ID,
|
||||||
Category.JSON_PROPERTY_NAME
|
Category.JSON_PROPERTY_NAME
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Category {
|
public class Category {
|
||||||
public static final String JSON_PROPERTY_ID = "id";
|
public static final String JSON_PROPERTY_ID = "id";
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ import java.util.StringJoiner;
|
|||||||
DataQuery.JSON_PROPERTY_TEXT,
|
DataQuery.JSON_PROPERTY_TEXT,
|
||||||
DataQuery.JSON_PROPERTY_DATE
|
DataQuery.JSON_PROPERTY_DATE
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class DataQuery extends Query {
|
public class DataQuery extends Query {
|
||||||
public static final String JSON_PROPERTY_SUFFIX = "suffix";
|
public static final String JSON_PROPERTY_SUFFIX = "suffix";
|
||||||
private String suffix;
|
private String suffix;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ import java.util.StringJoiner;
|
|||||||
DefaultValue.JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE,
|
DefaultValue.JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE,
|
||||||
DefaultValue.JSON_PROPERTY_STRING_NULLABLE
|
DefaultValue.JSON_PROPERTY_STRING_NULLABLE
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class DefaultValue {
|
public class DefaultValue {
|
||||||
public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default";
|
public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default";
|
||||||
private List<StringEnumRef> arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE));
|
private List<StringEnumRef> arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE));
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ import java.util.StringJoiner;
|
|||||||
NumberPropertiesOnly.JSON_PROPERTY_FLOAT,
|
NumberPropertiesOnly.JSON_PROPERTY_FLOAT,
|
||||||
NumberPropertiesOnly.JSON_PROPERTY_DOUBLE
|
NumberPropertiesOnly.JSON_PROPERTY_DOUBLE
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class NumberPropertiesOnly {
|
public class NumberPropertiesOnly {
|
||||||
public static final String JSON_PROPERTY_NUMBER = "number";
|
public static final String JSON_PROPERTY_NUMBER = "number";
|
||||||
private BigDecimal number;
|
private BigDecimal number;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ import java.util.StringJoiner;
|
|||||||
Pet.JSON_PROPERTY_TAGS,
|
Pet.JSON_PROPERTY_TAGS,
|
||||||
Pet.JSON_PROPERTY_STATUS
|
Pet.JSON_PROPERTY_STATUS
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Pet {
|
public class Pet {
|
||||||
public static final String JSON_PROPERTY_ID = "id";
|
public static final String JSON_PROPERTY_ID = "id";
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import java.util.StringJoiner;
|
|||||||
Query.JSON_PROPERTY_ID,
|
Query.JSON_PROPERTY_ID,
|
||||||
Query.JSON_PROPERTY_OUTCOMES
|
Query.JSON_PROPERTY_OUTCOMES
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Query {
|
public class Query {
|
||||||
public static final String JSON_PROPERTY_ID = "id";
|
public static final String JSON_PROPERTY_ID = "id";
|
||||||
protected Long id;
|
protected Long id;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import java.util.StringJoiner;
|
|||||||
Tag.JSON_PROPERTY_ID,
|
Tag.JSON_PROPERTY_ID,
|
||||||
Tag.JSON_PROPERTY_NAME
|
Tag.JSON_PROPERTY_NAME
|
||||||
})
|
})
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Tag {
|
public class Tag {
|
||||||
public static final String JSON_PROPERTY_ID = "id";
|
public static final String JSON_PROPERTY_ID = "id";
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import java.util.StringJoiner;
|
|||||||
TestFormObjectMultipartRequestMarker.JSON_PROPERTY_NAME
|
TestFormObjectMultipartRequestMarker.JSON_PROPERTY_NAME
|
||||||
})
|
})
|
||||||
@JsonTypeName("test_form_object_multipart_request_marker")
|
@JsonTypeName("test_form_object_multipart_request_marker")
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class TestFormObjectMultipartRequestMarker {
|
public class TestFormObjectMultipartRequestMarker {
|
||||||
public static final String JSON_PROPERTY_NAME = "name";
|
public static final String JSON_PROPERTY_NAME = "name";
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import java.util.StringJoiner;
|
|||||||
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.JSON_PROPERTY_NAME
|
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.JSON_PROPERTY_NAME
|
||||||
})
|
})
|
||||||
@JsonTypeName("test_query_style_deepObject_explode_true_object_allOf_query_object_parameter")
|
@JsonTypeName("test_query_style_deepObject_explode_true_object_allOf_query_object_parameter")
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter {
|
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter {
|
||||||
public static final String JSON_PROPERTY_SIZE = "size";
|
public static final String JSON_PROPERTY_SIZE = "size";
|
||||||
private String size;
|
private String size;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import java.util.StringJoiner;
|
|||||||
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.JSON_PROPERTY_VALUES
|
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.JSON_PROPERTY_VALUES
|
||||||
})
|
})
|
||||||
@JsonTypeName("test_query_style_form_explode_true_array_string_query_object_parameter")
|
@JsonTypeName("test_query_style_form_explode_true_array_string_query_object_parameter")
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
||||||
public static final String JSON_PROPERTY_VALUES = "values";
|
public static final String JSON_PROPERTY_VALUES = "values";
|
||||||
private List<String> values = new ArrayList<>();
|
private List<String> values = new ArrayList<>();
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
7.8.0-SNAPSHOT
|
8.0.0-SNAPSHOT
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import org.openapitools.client.auth.HttpBearerAuth;
|
|||||||
import org.openapitools.client.auth.ApiKeyAuth;
|
import org.openapitools.client.auth.ApiKeyAuth;
|
||||||
|
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ApiClient {
|
public class ApiClient {
|
||||||
private static final Logger log = Logger.getLogger(ApiClient.class.getName());
|
private static final Logger log = Logger.getLogger(ApiClient.class.getName());
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.Map;
|
|||||||
/**
|
/**
|
||||||
* Representing a Server configuration.
|
* Representing a Server configuration.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ServerConfiguration {
|
public class ServerConfiguration {
|
||||||
public String URL;
|
public String URL;
|
||||||
public String description;
|
public String description;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.HashSet;
|
|||||||
/**
|
/**
|
||||||
* Representing a Server Variable for server URL template substitution.
|
* Representing a Server Variable for server URL template substitution.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ServerVariable {
|
public class ServerVariable {
|
||||||
public String description;
|
public String description;
|
||||||
public String defaultValue;
|
public String defaultValue;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ package org.openapitools.client;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class StringUtil {
|
public class StringUtil {
|
||||||
/**
|
/**
|
||||||
* Check if the given array contains the given value (with case-insensitive comparison).
|
* Check if the given array contains the given value (with case-insensitive comparison).
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import feign.*;
|
import feign.*;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public interface AuthApi extends ApiClient.Api {
|
public interface AuthApi extends ApiClient.Api {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import feign.*;
|
import feign.*;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public interface BodyApi extends ApiClient.Api {
|
public interface BodyApi extends ApiClient.Api {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import feign.*;
|
import feign.*;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public interface FormApi extends ApiClient.Api {
|
public interface FormApi extends ApiClient.Api {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import feign.*;
|
import feign.*;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public interface HeaderApi extends ApiClient.Api {
|
public interface HeaderApi extends ApiClient.Api {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import feign.*;
|
import feign.*;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public interface PathApi extends ApiClient.Api {
|
public interface PathApi extends ApiClient.Api {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import feign.*;
|
import feign.*;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public interface QueryApi extends ApiClient.Api {
|
public interface QueryApi extends ApiClient.Api {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import java.io.IOException;
|
|||||||
/**
|
/**
|
||||||
* Bird
|
* Bird
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Bird {
|
public class Bird {
|
||||||
public static final String SERIALIZED_NAME_SIZE = "size";
|
public static final String SERIALIZED_NAME_SIZE = "size";
|
||||||
@SerializedName(SERIALIZED_NAME_SIZE)
|
@SerializedName(SERIALIZED_NAME_SIZE)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import java.io.IOException;
|
|||||||
/**
|
/**
|
||||||
* Category
|
* Category
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Category {
|
public class Category {
|
||||||
public static final String SERIALIZED_NAME_ID = "id";
|
public static final String SERIALIZED_NAME_ID = "id";
|
||||||
@SerializedName(SERIALIZED_NAME_ID)
|
@SerializedName(SERIALIZED_NAME_ID)
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import org.openapitools.client.model.Query;
|
|||||||
/**
|
/**
|
||||||
* DataQuery
|
* DataQuery
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class DataQuery extends Query {
|
public class DataQuery extends Query {
|
||||||
public static final String SERIALIZED_NAME_SUFFIX = "suffix";
|
public static final String SERIALIZED_NAME_SUFFIX = "suffix";
|
||||||
@SerializedName(SERIALIZED_NAME_SUFFIX)
|
@SerializedName(SERIALIZED_NAME_SUFFIX)
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import org.openapitools.jackson.nullable.JsonNullable;
|
|||||||
/**
|
/**
|
||||||
* to test the default value of properties
|
* to test the default value of properties
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class DefaultValue {
|
public class DefaultValue {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default";
|
public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT)
|
@SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT)
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import java.math.BigDecimal;
|
|||||||
/**
|
/**
|
||||||
* NumberPropertiesOnly
|
* NumberPropertiesOnly
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class NumberPropertiesOnly {
|
public class NumberPropertiesOnly {
|
||||||
public static final String SERIALIZED_NAME_NUMBER = "number";
|
public static final String SERIALIZED_NAME_NUMBER = "number";
|
||||||
@SerializedName(SERIALIZED_NAME_NUMBER)
|
@SerializedName(SERIALIZED_NAME_NUMBER)
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import org.openapitools.client.model.Tag;
|
|||||||
/**
|
/**
|
||||||
* Pet
|
* Pet
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Pet {
|
public class Pet {
|
||||||
public static final String SERIALIZED_NAME_ID = "id";
|
public static final String SERIALIZED_NAME_ID = "id";
|
||||||
@SerializedName(SERIALIZED_NAME_ID)
|
@SerializedName(SERIALIZED_NAME_ID)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Query {
|
public class Query {
|
||||||
public static final String SERIALIZED_NAME_ID = "id";
|
public static final String SERIALIZED_NAME_ID = "id";
|
||||||
@SerializedName(SERIALIZED_NAME_ID)
|
@SerializedName(SERIALIZED_NAME_ID)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import java.io.IOException;
|
|||||||
/**
|
/**
|
||||||
* Tag
|
* Tag
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Tag {
|
public class Tag {
|
||||||
public static final String SERIALIZED_NAME_ID = "id";
|
public static final String SERIALIZED_NAME_ID = "id";
|
||||||
@SerializedName(SERIALIZED_NAME_ID)
|
@SerializedName(SERIALIZED_NAME_ID)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import java.io.IOException;
|
|||||||
/**
|
/**
|
||||||
* TestFormObjectMultipartRequestMarker
|
* TestFormObjectMultipartRequestMarker
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class TestFormObjectMultipartRequestMarker {
|
public class TestFormObjectMultipartRequestMarker {
|
||||||
public static final String SERIALIZED_NAME_NAME = "name";
|
public static final String SERIALIZED_NAME_NAME = "name";
|
||||||
@SerializedName(SERIALIZED_NAME_NAME)
|
@SerializedName(SERIALIZED_NAME_NAME)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import java.io.IOException;
|
|||||||
/**
|
/**
|
||||||
* TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
* TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter {
|
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter {
|
||||||
public static final String SERIALIZED_NAME_SIZE = "size";
|
public static final String SERIALIZED_NAME_SIZE = "size";
|
||||||
@SerializedName(SERIALIZED_NAME_SIZE)
|
@SerializedName(SERIALIZED_NAME_SIZE)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
* TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
||||||
public static final String SERIALIZED_NAME_VALUES = "values";
|
public static final String SERIALIZED_NAME_VALUES = "values";
|
||||||
@SerializedName(SERIALIZED_NAME_VALUES)
|
@SerializedName(SERIALIZED_NAME_VALUES)
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
7.8.0-SNAPSHOT
|
8.0.0-SNAPSHOT
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Echo Server API
|
|||||||
|
|
||||||
- API version: 0.1.0
|
- API version: 0.1.0
|
||||||
|
|
||||||
- Generator version: 7.8.0-SNAPSHOT
|
- Generator version: 8.0.0-SNAPSHOT
|
||||||
|
|
||||||
Echo Server API
|
Echo Server API
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ import static java.nio.charset.StandardCharsets.UTF_8;
|
|||||||
* <p>The setter methods of this class return the current object to facilitate
|
* <p>The setter methods of this class return the current object to facilitate
|
||||||
* a fluent style of configuration.</p>
|
* a fluent style of configuration.</p>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ApiClient {
|
public class ApiClient {
|
||||||
|
|
||||||
private HttpClient.Builder builder;
|
private HttpClient.Builder builder;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ package org.openapitools.client;
|
|||||||
|
|
||||||
import java.net.http.HttpHeaders;
|
import java.net.http.HttpHeaders;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ApiException extends Exception {
|
public class ApiException extends Exception {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import java.util.Map;
|
|||||||
*
|
*
|
||||||
* @param <T> The type of data that is deserialized from response body
|
* @param <T> The type of data that is deserialized from response body
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ApiResponse<T> {
|
public class ApiResponse<T> {
|
||||||
final private int statusCode;
|
final private int statusCode;
|
||||||
final private Map<String, List<String>> headers;
|
final private Map<String, List<String>> headers;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
package org.openapitools.client;
|
package org.openapitools.client;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Configuration {
|
public class Configuration {
|
||||||
public static final String VERSION = "0.1.0";
|
public static final String VERSION = "0.1.0";
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import java.util.HashSet;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class JSON {
|
public class JSON {
|
||||||
private ObjectMapper mapper;
|
private ObjectMapper mapper;
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ public class JSON {
|
|||||||
/**
|
/**
|
||||||
* Helper class to register the discriminator mappings.
|
* Helper class to register the discriminator mappings.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
private static class ClassDiscriminatorMapping {
|
private static class ClassDiscriminatorMapping {
|
||||||
// The model class name.
|
// The model class name.
|
||||||
Class<?> modelClass;
|
Class<?> modelClass;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
package org.openapitools.client;
|
package org.openapitools.client;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class Pair {
|
public class Pair {
|
||||||
private String name = "";
|
private String name = "";
|
||||||
private String value = "";
|
private String value = "";
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import java.text.DecimalFormat;
|
|||||||
import java.util.GregorianCalendar;
|
import java.util.GregorianCalendar;
|
||||||
import java.util.TimeZone;
|
import java.util.TimeZone;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class RFC3339DateFormat extends DateFormat {
|
public class RFC3339DateFormat extends DateFormat {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC");
|
private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC");
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.Map;
|
|||||||
/**
|
/**
|
||||||
* Representing a Server configuration.
|
* Representing a Server configuration.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ServerConfiguration {
|
public class ServerConfiguration {
|
||||||
public String URL;
|
public String URL;
|
||||||
public String description;
|
public String description;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.HashSet;
|
|||||||
/**
|
/**
|
||||||
* Representing a Server Variable for server URL template substitution.
|
* Representing a Server Variable for server URL template substitution.
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class ServerVariable {
|
public class ServerVariable {
|
||||||
public String description;
|
public String description;
|
||||||
public String defaultValue;
|
public String defaultValue;
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ import java.util.Map;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class AuthApi {
|
public class AuthApi {
|
||||||
private final HttpClient memberVarHttpClient;
|
private final HttpClient memberVarHttpClient;
|
||||||
private final ObjectMapper memberVarObjectMapper;
|
private final ObjectMapper memberVarObjectMapper;
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ import java.util.Map;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class BodyApi {
|
public class BodyApi {
|
||||||
private final HttpClient memberVarHttpClient;
|
private final HttpClient memberVarHttpClient;
|
||||||
private final ObjectMapper memberVarObjectMapper;
|
private final ObjectMapper memberVarObjectMapper;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import java.util.Map;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class FormApi {
|
public class FormApi {
|
||||||
private final HttpClient memberVarHttpClient;
|
private final HttpClient memberVarHttpClient;
|
||||||
private final ObjectMapper memberVarObjectMapper;
|
private final ObjectMapper memberVarObjectMapper;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import java.util.Map;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class HeaderApi {
|
public class HeaderApi {
|
||||||
private final HttpClient memberVarHttpClient;
|
private final HttpClient memberVarHttpClient;
|
||||||
private final ObjectMapper memberVarObjectMapper;
|
private final ObjectMapper memberVarObjectMapper;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import java.util.Map;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class PathApi {
|
public class PathApi {
|
||||||
private final HttpClient memberVarHttpClient;
|
private final HttpClient memberVarHttpClient;
|
||||||
private final ObjectMapper memberVarObjectMapper;
|
private final ObjectMapper memberVarObjectMapper;
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ import java.util.Map;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public class QueryApi {
|
public class QueryApi {
|
||||||
private final HttpClient memberVarHttpClient;
|
private final HttpClient memberVarHttpClient;
|
||||||
private final ObjectMapper memberVarObjectMapper;
|
private final ObjectMapper memberVarObjectMapper;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
|
|||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 8.0.0-SNAPSHOT")
|
||||||
public abstract class AbstractOpenApiSchema {
|
public abstract class AbstractOpenApiSchema {
|
||||||
|
|
||||||
// store the actual instance of the schema/object
|
// store the actual instance of the schema/object
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user