mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 17:06:16 +00:00
Update jackson dependencies to newer version (#13634)
* update jackson databind dep * update java native dep to newer version * fix build issue due to cached config. add dummy pom
This commit is contained in:
@@ -63,7 +63,7 @@ artifacts {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.5.22"
|
swagger_annotations_version = "1.5.22"
|
||||||
jackson_version = "2.13.0"
|
jackson_version = "2.13.4"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
junit_version = "4.13.2"
|
junit_version = "4.13.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -221,7 +221,7 @@
|
|||||||
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
||||||
<maven.compiler.source>11</maven.compiler.source>
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
<maven.compiler.target>11</maven.compiler.target>
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
<jackson-version>2.13.0</jackson-version>
|
<jackson-version>2.13.4</jackson-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
<junit-version>4.13.2</junit-version>
|
<junit-version>4.13.2</junit-version>
|
||||||
|
|||||||
@@ -306,8 +306,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
||||||
<spring-web-version>5.3.18</spring-web-version>
|
<spring-web-version>5.3.18</spring-web-version>
|
||||||
<jackson-version>2.10.5</jackson-version>
|
<jackson-version>2.12.7</jackson-version>
|
||||||
<jackson-databind-version>2.11.4</jackson-databind-version>
|
<jackson-databind-version>2.12.7</jackson-databind-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
{{#joda}}
|
{{#joda}}
|
||||||
|
|||||||
@@ -114,8 +114,8 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.6.3"
|
swagger_annotations_version = "1.6.3"
|
||||||
spring_boot_version = "2.6.6"
|
spring_boot_version = "2.6.6"
|
||||||
jackson_version = "2.11.4"
|
jackson_version = "2.12.7"
|
||||||
jackson_databind_version = "2.11.4"
|
jackson_databind_version = "2.12.7"
|
||||||
{{#openApiNullable}}
|
{{#openApiNullable}}
|
||||||
jackson_databind_nullable_version = "0.2.3"
|
jackson_databind_nullable_version = "0.2.3"
|
||||||
{{/openApiNullable}}
|
{{/openApiNullable}}
|
||||||
|
|||||||
@@ -148,8 +148,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.6.3</swagger-annotations-version>
|
<swagger-annotations-version>1.6.3</swagger-annotations-version>
|
||||||
<spring-boot-version>2.6.6</spring-boot-version>
|
<spring-boot-version>2.6.6</spring-boot-version>
|
||||||
<jackson-version>2.11.3</jackson-version>
|
<jackson-version>2.12.7</jackson-version>
|
||||||
<jackson-databind-version>2.11.4</jackson-databind-version>
|
<jackson-databind-version>2.12.7</jackson-databind-version>
|
||||||
{{#openApiNullable}}
|
{{#openApiNullable}}
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
{{/openApiNullable}}
|
{{/openApiNullable}}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<vertx.version>4.2.4</vertx.version>
|
<vertx.version>4.2.4</vertx.version>
|
||||||
<junit-jupiter.version>5.7.0</junit-jupiter.version>
|
<junit-jupiter.version>5.7.0</junit-jupiter.version>
|
||||||
<slf4j.version>1.7.30</slf4j.version>
|
<slf4j.version>1.7.30</slf4j.version>
|
||||||
<jackson.version>2.11.2</jackson.version>
|
<jackson.version>2.12.7</jackson.version>
|
||||||
|
|
||||||
<main.verticle>{{invokerPackage}}.HttpServerVerticle</main.verticle>
|
<main.verticle>{{invokerPackage}}.HttpServerVerticle</main.verticle>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<version.framework>0.1.1</version.framework>
|
<version.framework>0.1.1</version.framework>
|
||||||
<version.jackson>2.10.5</version.jackson>
|
<version.jackson>2.12.7</version.jackson>
|
||||||
<version.jackson.databind>2.10.5.1</version.jackson.databind>
|
<version.jackson.databind>2.12.7</version.jackson.databind>
|
||||||
<version.slf4j>1.7.21</version.slf4j>
|
<version.slf4j>1.7.21</version.slf4j>
|
||||||
<version.jose4j>0.5.2</version.jose4j>
|
<version.jose4j>0.5.2</version.jose4j>
|
||||||
<version.antlr4>4.5.3</version.antlr4>
|
<version.antlr4>4.5.3</version.antlr4>
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ artifacts {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.5.22"
|
swagger_annotations_version = "1.5.22"
|
||||||
jackson_version = "2.13.0"
|
jackson_version = "2.13.4"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
junit_version = "4.13.2"
|
junit_version = "4.13.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -214,7 +214,7 @@
|
|||||||
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
||||||
<maven.compiler.source>11</maven.compiler.source>
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
<maven.compiler.target>11</maven.compiler.target>
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
<jackson-version>2.13.0</jackson-version>
|
<jackson-version>2.13.4</jackson-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
<junit-version>4.13.2</junit-version>
|
<junit-version>4.13.2</junit-version>
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ artifacts {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.5.22"
|
swagger_annotations_version = "1.5.22"
|
||||||
jackson_version = "2.13.0"
|
jackson_version = "2.13.4"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
junit_version = "4.13.2"
|
junit_version = "4.13.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -214,7 +214,7 @@
|
|||||||
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
||||||
<maven.compiler.source>11</maven.compiler.source>
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
<maven.compiler.target>11</maven.compiler.target>
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
<jackson-version>2.13.0</jackson-version>
|
<jackson-version>2.13.4</jackson-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
<junit-version>4.13.2</junit-version>
|
<junit-version>4.13.2</junit-version>
|
||||||
|
|||||||
@@ -285,8 +285,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
||||||
<spring-web-version>5.3.18</spring-web-version>
|
<spring-web-version>5.3.18</spring-web-version>
|
||||||
<jackson-version>2.10.5</jackson-version>
|
<jackson-version>2.12.7</jackson-version>
|
||||||
<jackson-databind-version>2.11.4</jackson-databind-version>
|
<jackson-databind-version>2.12.7</jackson-databind-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||||
|
|||||||
@@ -273,8 +273,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
||||||
<spring-web-version>5.3.18</spring-web-version>
|
<spring-web-version>5.3.18</spring-web-version>
|
||||||
<jackson-version>2.10.5</jackson-version>
|
<jackson-version>2.12.7</jackson-version>
|
||||||
<jackson-databind-version>2.11.4</jackson-databind-version>
|
<jackson-databind-version>2.12.7</jackson-databind-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||||
|
|||||||
@@ -114,8 +114,8 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.6.3"
|
swagger_annotations_version = "1.6.3"
|
||||||
spring_boot_version = "2.6.6"
|
spring_boot_version = "2.6.6"
|
||||||
jackson_version = "2.11.4"
|
jackson_version = "2.12.7"
|
||||||
jackson_databind_version = "2.11.4"
|
jackson_databind_version = "2.12.7"
|
||||||
jackson_databind_nullable_version = "0.2.3"
|
jackson_databind_nullable_version = "0.2.3"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
reactor_version = "3.4.3"
|
reactor_version = "3.4.3"
|
||||||
|
|||||||
@@ -127,8 +127,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.6.3</swagger-annotations-version>
|
<swagger-annotations-version>1.6.3</swagger-annotations-version>
|
||||||
<spring-boot-version>2.6.6</spring-boot-version>
|
<spring-boot-version>2.6.6</spring-boot-version>
|
||||||
<jackson-version>2.11.3</jackson-version>
|
<jackson-version>2.12.7</jackson-version>
|
||||||
<jackson-databind-version>2.11.4</jackson-databind-version>
|
<jackson-databind-version>2.12.7</jackson-databind-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
<junit-version>4.13.2</junit-version>
|
<junit-version>4.13.2</junit-version>
|
||||||
|
|||||||
@@ -114,8 +114,8 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.6.3"
|
swagger_annotations_version = "1.6.3"
|
||||||
spring_boot_version = "2.6.6"
|
spring_boot_version = "2.6.6"
|
||||||
jackson_version = "2.11.4"
|
jackson_version = "2.12.7"
|
||||||
jackson_databind_version = "2.11.4"
|
jackson_databind_version = "2.12.7"
|
||||||
jackson_databind_nullable_version = "0.2.3"
|
jackson_databind_nullable_version = "0.2.3"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
reactor_version = "3.4.3"
|
reactor_version = "3.4.3"
|
||||||
|
|||||||
@@ -127,8 +127,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.6.3</swagger-annotations-version>
|
<swagger-annotations-version>1.6.3</swagger-annotations-version>
|
||||||
<spring-boot-version>2.6.6</spring-boot-version>
|
<spring-boot-version>2.6.6</spring-boot-version>
|
||||||
<jackson-version>2.11.3</jackson-version>
|
<jackson-version>2.12.7</jackson-version>
|
||||||
<jackson-databind-version>2.11.4</jackson-databind-version>
|
<jackson-databind-version>2.12.7</jackson-databind-version>
|
||||||
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
<jackson-databind-nullable-version>0.2.3</jackson-databind-nullable-version>
|
||||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||||
<junit-version>4.13.2</junit-version>
|
<junit-version>4.13.2</junit-version>
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
*.class
|
|
||||||
|
|
||||||
# Mobile Tools for Java (J2ME)
|
|
||||||
.mtj.tmp/
|
|
||||||
|
|
||||||
# Package Files #
|
|
||||||
*.jar
|
|
||||||
*.war
|
|
||||||
*.ear
|
|
||||||
|
|
||||||
# exclude jar for gradle wrapper
|
|
||||||
!gradle/wrapper/*.jar
|
|
||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
|
||||||
hs_err_pid*
|
|
||||||
|
|
||||||
# build files
|
|
||||||
**/target
|
|
||||||
target
|
|
||||||
.gradle
|
|
||||||
build
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
# OpenAPI Generator Ignore
|
|
||||||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
||||||
|
|
||||||
# Use this file to prevent files from being overwritten by the generator.
|
|
||||||
# The patterns follow closely to .gitignore or .dockerignore.
|
|
||||||
|
|
||||||
# As an example, the C# client generator defines ApiClient.cs.
|
|
||||||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
||||||
#ApiClient.cs
|
|
||||||
|
|
||||||
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
||||||
#foo/*/qux
|
|
||||||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
||||||
#foo/**/qux
|
|
||||||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can also negate patterns with an exclamation (!).
|
|
||||||
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
||||||
#docs/*.md
|
|
||||||
# Then explicitly reverse the ignore rule for a single file:
|
|
||||||
#!docs/README.md
|
|
||||||
@@ -1,187 +0,0 @@
|
|||||||
.gitignore
|
|
||||||
.travis.yml
|
|
||||||
README.md
|
|
||||||
api/openapi.yaml
|
|
||||||
build.gradle
|
|
||||||
build.sbt
|
|
||||||
docs/AdditionalPropertiesClass.md
|
|
||||||
docs/Animal.md
|
|
||||||
docs/AnotherFakeApi.md
|
|
||||||
docs/Apple.md
|
|
||||||
docs/AppleReq.md
|
|
||||||
docs/ArrayOfArrayOfNumberOnly.md
|
|
||||||
docs/ArrayOfNumberOnly.md
|
|
||||||
docs/ArrayTest.md
|
|
||||||
docs/Banana.md
|
|
||||||
docs/BananaReq.md
|
|
||||||
docs/BasquePig.md
|
|
||||||
docs/Capitalization.md
|
|
||||||
docs/Cat.md
|
|
||||||
docs/CatAllOf.md
|
|
||||||
docs/Category.md
|
|
||||||
docs/ChildCat.md
|
|
||||||
docs/ChildCatAllOf.md
|
|
||||||
docs/ClassModel.md
|
|
||||||
docs/Client.md
|
|
||||||
docs/ComplexQuadrilateral.md
|
|
||||||
docs/DanishPig.md
|
|
||||||
docs/DefaultApi.md
|
|
||||||
docs/DeprecatedObject.md
|
|
||||||
docs/Dog.md
|
|
||||||
docs/DogAllOf.md
|
|
||||||
docs/Drawing.md
|
|
||||||
docs/EnumArrays.md
|
|
||||||
docs/EnumClass.md
|
|
||||||
docs/EnumTest.md
|
|
||||||
docs/EquilateralTriangle.md
|
|
||||||
docs/FakeApi.md
|
|
||||||
docs/FakeClassnameTags123Api.md
|
|
||||||
docs/FileSchemaTestClass.md
|
|
||||||
docs/Foo.md
|
|
||||||
docs/FormatTest.md
|
|
||||||
docs/Fruit.md
|
|
||||||
docs/FruitReq.md
|
|
||||||
docs/GmFruit.md
|
|
||||||
docs/GrandparentAnimal.md
|
|
||||||
docs/HasOnlyReadOnly.md
|
|
||||||
docs/HealthCheckResult.md
|
|
||||||
docs/InlineResponseDefault.md
|
|
||||||
docs/IsoscelesTriangle.md
|
|
||||||
docs/Mammal.md
|
|
||||||
docs/MapTest.md
|
|
||||||
docs/MixedPropertiesAndAdditionalPropertiesClass.md
|
|
||||||
docs/Model200Response.md
|
|
||||||
docs/ModelApiResponse.md
|
|
||||||
docs/ModelReturn.md
|
|
||||||
docs/Name.md
|
|
||||||
docs/NullableClass.md
|
|
||||||
docs/NullableShape.md
|
|
||||||
docs/NumberOnly.md
|
|
||||||
docs/ObjectWithDeprecatedFields.md
|
|
||||||
docs/Order.md
|
|
||||||
docs/OuterComposite.md
|
|
||||||
docs/OuterEnum.md
|
|
||||||
docs/OuterEnumDefaultValue.md
|
|
||||||
docs/OuterEnumInteger.md
|
|
||||||
docs/OuterEnumIntegerDefaultValue.md
|
|
||||||
docs/ParentPet.md
|
|
||||||
docs/Pet.md
|
|
||||||
docs/PetApi.md
|
|
||||||
docs/Pig.md
|
|
||||||
docs/Quadrilateral.md
|
|
||||||
docs/QuadrilateralInterface.md
|
|
||||||
docs/ReadOnlyFirst.md
|
|
||||||
docs/ScaleneTriangle.md
|
|
||||||
docs/Shape.md
|
|
||||||
docs/ShapeInterface.md
|
|
||||||
docs/ShapeOrNull.md
|
|
||||||
docs/SimpleQuadrilateral.md
|
|
||||||
docs/SpecialModelName.md
|
|
||||||
docs/StoreApi.md
|
|
||||||
docs/Tag.md
|
|
||||||
docs/Triangle.md
|
|
||||||
docs/TriangleInterface.md
|
|
||||||
docs/User.md
|
|
||||||
docs/UserApi.md
|
|
||||||
docs/Whale.md
|
|
||||||
docs/Zebra.md
|
|
||||||
git_push.sh
|
|
||||||
gradle.properties
|
|
||||||
gradle/wrapper/gradle-wrapper.jar
|
|
||||||
gradle/wrapper/gradle-wrapper.properties
|
|
||||||
gradlew
|
|
||||||
gradlew.bat
|
|
||||||
pom.xml
|
|
||||||
settings.gradle
|
|
||||||
src/main/AndroidManifest.xml
|
|
||||||
src/main/java/org/openapitools/client/ApiClient.java
|
|
||||||
src/main/java/org/openapitools/client/ApiException.java
|
|
||||||
src/main/java/org/openapitools/client/ApiResponse.java
|
|
||||||
src/main/java/org/openapitools/client/Configuration.java
|
|
||||||
src/main/java/org/openapitools/client/JSON.java
|
|
||||||
src/main/java/org/openapitools/client/Pair.java
|
|
||||||
src/main/java/org/openapitools/client/RFC3339DateFormat.java
|
|
||||||
src/main/java/org/openapitools/client/ServerConfiguration.java
|
|
||||||
src/main/java/org/openapitools/client/ServerVariable.java
|
|
||||||
src/main/java/org/openapitools/client/api/AnotherFakeApi.java
|
|
||||||
src/main/java/org/openapitools/client/api/DefaultApi.java
|
|
||||||
src/main/java/org/openapitools/client/api/FakeApi.java
|
|
||||||
src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java
|
|
||||||
src/main/java/org/openapitools/client/api/PetApi.java
|
|
||||||
src/main/java/org/openapitools/client/api/StoreApi.java
|
|
||||||
src/main/java/org/openapitools/client/api/UserApi.java
|
|
||||||
src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java
|
|
||||||
src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java
|
|
||||||
src/main/java/org/openapitools/client/model/Animal.java
|
|
||||||
src/main/java/org/openapitools/client/model/Apple.java
|
|
||||||
src/main/java/org/openapitools/client/model/AppleReq.java
|
|
||||||
src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java
|
|
||||||
src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java
|
|
||||||
src/main/java/org/openapitools/client/model/ArrayTest.java
|
|
||||||
src/main/java/org/openapitools/client/model/Banana.java
|
|
||||||
src/main/java/org/openapitools/client/model/BananaReq.java
|
|
||||||
src/main/java/org/openapitools/client/model/BasquePig.java
|
|
||||||
src/main/java/org/openapitools/client/model/Capitalization.java
|
|
||||||
src/main/java/org/openapitools/client/model/Cat.java
|
|
||||||
src/main/java/org/openapitools/client/model/CatAllOf.java
|
|
||||||
src/main/java/org/openapitools/client/model/Category.java
|
|
||||||
src/main/java/org/openapitools/client/model/ChildCat.java
|
|
||||||
src/main/java/org/openapitools/client/model/ChildCatAllOf.java
|
|
||||||
src/main/java/org/openapitools/client/model/ClassModel.java
|
|
||||||
src/main/java/org/openapitools/client/model/Client.java
|
|
||||||
src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java
|
|
||||||
src/main/java/org/openapitools/client/model/DanishPig.java
|
|
||||||
src/main/java/org/openapitools/client/model/DeprecatedObject.java
|
|
||||||
src/main/java/org/openapitools/client/model/Dog.java
|
|
||||||
src/main/java/org/openapitools/client/model/DogAllOf.java
|
|
||||||
src/main/java/org/openapitools/client/model/Drawing.java
|
|
||||||
src/main/java/org/openapitools/client/model/EnumArrays.java
|
|
||||||
src/main/java/org/openapitools/client/model/EnumClass.java
|
|
||||||
src/main/java/org/openapitools/client/model/EnumTest.java
|
|
||||||
src/main/java/org/openapitools/client/model/EquilateralTriangle.java
|
|
||||||
src/main/java/org/openapitools/client/model/FileSchemaTestClass.java
|
|
||||||
src/main/java/org/openapitools/client/model/Foo.java
|
|
||||||
src/main/java/org/openapitools/client/model/FormatTest.java
|
|
||||||
src/main/java/org/openapitools/client/model/Fruit.java
|
|
||||||
src/main/java/org/openapitools/client/model/FruitReq.java
|
|
||||||
src/main/java/org/openapitools/client/model/GmFruit.java
|
|
||||||
src/main/java/org/openapitools/client/model/GrandparentAnimal.java
|
|
||||||
src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java
|
|
||||||
src/main/java/org/openapitools/client/model/HealthCheckResult.java
|
|
||||||
src/main/java/org/openapitools/client/model/InlineResponseDefault.java
|
|
||||||
src/main/java/org/openapitools/client/model/IsoscelesTriangle.java
|
|
||||||
src/main/java/org/openapitools/client/model/Mammal.java
|
|
||||||
src/main/java/org/openapitools/client/model/MapTest.java
|
|
||||||
src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
|
|
||||||
src/main/java/org/openapitools/client/model/Model200Response.java
|
|
||||||
src/main/java/org/openapitools/client/model/ModelApiResponse.java
|
|
||||||
src/main/java/org/openapitools/client/model/ModelReturn.java
|
|
||||||
src/main/java/org/openapitools/client/model/Name.java
|
|
||||||
src/main/java/org/openapitools/client/model/NullableClass.java
|
|
||||||
src/main/java/org/openapitools/client/model/NullableShape.java
|
|
||||||
src/main/java/org/openapitools/client/model/NumberOnly.java
|
|
||||||
src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
|
|
||||||
src/main/java/org/openapitools/client/model/Order.java
|
|
||||||
src/main/java/org/openapitools/client/model/OuterComposite.java
|
|
||||||
src/main/java/org/openapitools/client/model/OuterEnum.java
|
|
||||||
src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java
|
|
||||||
src/main/java/org/openapitools/client/model/OuterEnumInteger.java
|
|
||||||
src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java
|
|
||||||
src/main/java/org/openapitools/client/model/ParentPet.java
|
|
||||||
src/main/java/org/openapitools/client/model/Pet.java
|
|
||||||
src/main/java/org/openapitools/client/model/Pig.java
|
|
||||||
src/main/java/org/openapitools/client/model/Quadrilateral.java
|
|
||||||
src/main/java/org/openapitools/client/model/QuadrilateralInterface.java
|
|
||||||
src/main/java/org/openapitools/client/model/ReadOnlyFirst.java
|
|
||||||
src/main/java/org/openapitools/client/model/ScaleneTriangle.java
|
|
||||||
src/main/java/org/openapitools/client/model/Shape.java
|
|
||||||
src/main/java/org/openapitools/client/model/ShapeInterface.java
|
|
||||||
src/main/java/org/openapitools/client/model/ShapeOrNull.java
|
|
||||||
src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java
|
|
||||||
src/main/java/org/openapitools/client/model/SpecialModelName.java
|
|
||||||
src/main/java/org/openapitools/client/model/Tag.java
|
|
||||||
src/main/java/org/openapitools/client/model/Triangle.java
|
|
||||||
src/main/java/org/openapitools/client/model/TriangleInterface.java
|
|
||||||
src/main/java/org/openapitools/client/model/User.java
|
|
||||||
src/main/java/org/openapitools/client/model/Whale.java
|
|
||||||
src/main/java/org/openapitools/client/model/Zebra.java
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
6.0.0-SNAPSHOT
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#
|
|
||||||
# Generated by: https://openapi-generator.tech
|
|
||||||
#
|
|
||||||
language: java
|
|
||||||
jdk:
|
|
||||||
- oraclejdk11
|
|
||||||
before_install:
|
|
||||||
# ensure gradlew has proper permission
|
|
||||||
- chmod a+x ./gradlew
|
|
||||||
script:
|
|
||||||
# test using maven
|
|
||||||
- mvn test
|
|
||||||
# uncomment below to test using gradle
|
|
||||||
# - gradle test
|
|
||||||
# uncomment below to test using sbt
|
|
||||||
# - sbt test
|
|
||||||
@@ -1,317 +0,0 @@
|
|||||||
# petstore-openapi3-native
|
|
||||||
|
|
||||||
OpenAPI Petstore
|
|
||||||
|
|
||||||
- API version: 1.0.0
|
|
||||||
|
|
||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
|
|
||||||
|
|
||||||
*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
Building the API client library requires:
|
|
||||||
|
|
||||||
1. Java 11+
|
|
||||||
2. Maven/Gradle
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
To install the API client library to your local Maven repository, simply execute:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
mvn clean install
|
|
||||||
```
|
|
||||||
|
|
||||||
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
mvn clean deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.
|
|
||||||
|
|
||||||
### Maven users
|
|
||||||
|
|
||||||
Add this dependency to your project's POM:
|
|
||||||
|
|
||||||
```xml
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.openapitools</groupId>
|
|
||||||
<artifactId>petstore-openapi3-native</artifactId>
|
|
||||||
<version>1.0.0</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Gradle users
|
|
||||||
|
|
||||||
Add this dependency to your project's build file:
|
|
||||||
|
|
||||||
```groovy
|
|
||||||
compile "org.openapitools:petstore-openapi3-native:1.0.0"
|
|
||||||
```
|
|
||||||
|
|
||||||
### Others
|
|
||||||
|
|
||||||
At first generate the JAR by executing:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
mvn clean package
|
|
||||||
```
|
|
||||||
|
|
||||||
Then manually install the following JARs:
|
|
||||||
|
|
||||||
- `target/petstore-openapi3-native-1.0.0.jar`
|
|
||||||
- `target/lib/*.jar`
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
Please follow the [installation](#installation) instruction and execute the following Java code:
|
|
||||||
|
|
||||||
```java
|
|
||||||
|
|
||||||
import org.openapitools.client.*;
|
|
||||||
import org.openapitools.client.model.*;
|
|
||||||
import org.openapitools.client.api.AnotherFakeApi;
|
|
||||||
|
|
||||||
public class AnotherFakeApiExample {
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
|
||||||
// Configure clients using the `defaultClient` object, such as
|
|
||||||
// overriding the host and port, timeout, etc.
|
|
||||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
|
||||||
Client client = new Client(); // Client | client model
|
|
||||||
try {
|
|
||||||
Client result = apiInstance.call123testSpecialTags(client);
|
|
||||||
System.out.println(result);
|
|
||||||
} catch (ApiException e) {
|
|
||||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
|
||||||
System.err.println("Status code: " + e.getCode());
|
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Documentation for API Endpoints
|
|
||||||
|
|
||||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
|
||||||
|
|
||||||
Class | Method | HTTP request | Description
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
*AnotherFakeApi* | [**call123testSpecialTags**](docs/AnotherFakeApi.md#call123testSpecialTags) | **PATCH** /another-fake/dummy | To test special tags
|
|
||||||
*AnotherFakeApi* | [**call123testSpecialTagsWithHttpInfo**](docs/AnotherFakeApi.md#call123testSpecialTagsWithHttpInfo) | **PATCH** /another-fake/dummy | To test special tags
|
|
||||||
*DefaultApi* | [**fooGet**](docs/DefaultApi.md#fooGet) | **GET** /foo |
|
|
||||||
*DefaultApi* | [**fooGetWithHttpInfo**](docs/DefaultApi.md#fooGetWithHttpInfo) | **GET** /foo |
|
|
||||||
*FakeApi* | [**fakeHealthGet**](docs/FakeApi.md#fakeHealthGet) | **GET** /fake/health | Health check endpoint
|
|
||||||
*FakeApi* | [**fakeHealthGetWithHttpInfo**](docs/FakeApi.md#fakeHealthGetWithHttpInfo) | **GET** /fake/health | Health check endpoint
|
|
||||||
*FakeApi* | [**fakeOuterBooleanSerialize**](docs/FakeApi.md#fakeOuterBooleanSerialize) | **POST** /fake/outer/boolean |
|
|
||||||
*FakeApi* | [**fakeOuterBooleanSerializeWithHttpInfo**](docs/FakeApi.md#fakeOuterBooleanSerializeWithHttpInfo) | **POST** /fake/outer/boolean |
|
|
||||||
*FakeApi* | [**fakeOuterCompositeSerialize**](docs/FakeApi.md#fakeOuterCompositeSerialize) | **POST** /fake/outer/composite |
|
|
||||||
*FakeApi* | [**fakeOuterCompositeSerializeWithHttpInfo**](docs/FakeApi.md#fakeOuterCompositeSerializeWithHttpInfo) | **POST** /fake/outer/composite |
|
|
||||||
*FakeApi* | [**fakeOuterNumberSerialize**](docs/FakeApi.md#fakeOuterNumberSerialize) | **POST** /fake/outer/number |
|
|
||||||
*FakeApi* | [**fakeOuterNumberSerializeWithHttpInfo**](docs/FakeApi.md#fakeOuterNumberSerializeWithHttpInfo) | **POST** /fake/outer/number |
|
|
||||||
*FakeApi* | [**fakeOuterStringSerialize**](docs/FakeApi.md#fakeOuterStringSerialize) | **POST** /fake/outer/string |
|
|
||||||
*FakeApi* | [**fakeOuterStringSerializeWithHttpInfo**](docs/FakeApi.md#fakeOuterStringSerializeWithHttpInfo) | **POST** /fake/outer/string |
|
|
||||||
*FakeApi* | [**getArrayOfEnums**](docs/FakeApi.md#getArrayOfEnums) | **GET** /fake/array-of-enums | Array of Enums
|
|
||||||
*FakeApi* | [**getArrayOfEnumsWithHttpInfo**](docs/FakeApi.md#getArrayOfEnumsWithHttpInfo) | **GET** /fake/array-of-enums | Array of Enums
|
|
||||||
*FakeApi* | [**testBodyWithFileSchema**](docs/FakeApi.md#testBodyWithFileSchema) | **PUT** /fake/body-with-file-schema |
|
|
||||||
*FakeApi* | [**testBodyWithFileSchemaWithHttpInfo**](docs/FakeApi.md#testBodyWithFileSchemaWithHttpInfo) | **PUT** /fake/body-with-file-schema |
|
|
||||||
*FakeApi* | [**testBodyWithQueryParams**](docs/FakeApi.md#testBodyWithQueryParams) | **PUT** /fake/body-with-query-params |
|
|
||||||
*FakeApi* | [**testBodyWithQueryParamsWithHttpInfo**](docs/FakeApi.md#testBodyWithQueryParamsWithHttpInfo) | **PUT** /fake/body-with-query-params |
|
|
||||||
*FakeApi* | [**testClientModel**](docs/FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
|
|
||||||
*FakeApi* | [**testClientModelWithHttpInfo**](docs/FakeApi.md#testClientModelWithHttpInfo) | **PATCH** /fake | To test \"client\" model
|
|
||||||
*FakeApi* | [**testEndpointParameters**](docs/FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
|
||||||
*FakeApi* | [**testEndpointParametersWithHttpInfo**](docs/FakeApi.md#testEndpointParametersWithHttpInfo) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
|
||||||
*FakeApi* | [**testEnumParameters**](docs/FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
|
|
||||||
*FakeApi* | [**testEnumParametersWithHttpInfo**](docs/FakeApi.md#testEnumParametersWithHttpInfo) | **GET** /fake | To test enum parameters
|
|
||||||
*FakeApi* | [**testGroupParameters**](docs/FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
|
|
||||||
*FakeApi* | [**testGroupParametersWithHttpInfo**](docs/FakeApi.md#testGroupParametersWithHttpInfo) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
|
|
||||||
*FakeApi* | [**testInlineAdditionalProperties**](docs/FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
|
|
||||||
*FakeApi* | [**testInlineAdditionalPropertiesWithHttpInfo**](docs/FakeApi.md#testInlineAdditionalPropertiesWithHttpInfo) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
|
|
||||||
*FakeApi* | [**testJsonFormData**](docs/FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
|
|
||||||
*FakeApi* | [**testJsonFormDataWithHttpInfo**](docs/FakeApi.md#testJsonFormDataWithHttpInfo) | **GET** /fake/jsonFormData | test json serialization of form data
|
|
||||||
*FakeApi* | [**testQueryParameterCollectionFormat**](docs/FakeApi.md#testQueryParameterCollectionFormat) | **PUT** /fake/test-query-parameters |
|
|
||||||
*FakeApi* | [**testQueryParameterCollectionFormatWithHttpInfo**](docs/FakeApi.md#testQueryParameterCollectionFormatWithHttpInfo) | **PUT** /fake/test-query-parameters |
|
|
||||||
*FakeClassnameTags123Api* | [**testClassname**](docs/FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
|
|
||||||
*FakeClassnameTags123Api* | [**testClassnameWithHttpInfo**](docs/FakeClassnameTags123Api.md#testClassnameWithHttpInfo) | **PATCH** /fake_classname_test | To test class name in snake case
|
|
||||||
*PetApi* | [**addPet**](docs/PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
|
|
||||||
*PetApi* | [**addPetWithHttpInfo**](docs/PetApi.md#addPetWithHttpInfo) | **POST** /pet | Add a new pet to the store
|
|
||||||
*PetApi* | [**deletePet**](docs/PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
|
|
||||||
*PetApi* | [**deletePetWithHttpInfo**](docs/PetApi.md#deletePetWithHttpInfo) | **DELETE** /pet/{petId} | Deletes a pet
|
|
||||||
*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
|
|
||||||
*PetApi* | [**findPetsByStatusWithHttpInfo**](docs/PetApi.md#findPetsByStatusWithHttpInfo) | **GET** /pet/findByStatus | Finds Pets by status
|
|
||||||
*PetApi* | [**findPetsByTags**](docs/PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
|
|
||||||
*PetApi* | [**findPetsByTagsWithHttpInfo**](docs/PetApi.md#findPetsByTagsWithHttpInfo) | **GET** /pet/findByTags | Finds Pets by tags
|
|
||||||
*PetApi* | [**getPetById**](docs/PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
|
|
||||||
*PetApi* | [**getPetByIdWithHttpInfo**](docs/PetApi.md#getPetByIdWithHttpInfo) | **GET** /pet/{petId} | Find pet by ID
|
|
||||||
*PetApi* | [**updatePet**](docs/PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
|
|
||||||
*PetApi* | [**updatePetWithHttpInfo**](docs/PetApi.md#updatePetWithHttpInfo) | **PUT** /pet | Update an existing pet
|
|
||||||
*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
|
|
||||||
*PetApi* | [**updatePetWithFormWithHttpInfo**](docs/PetApi.md#updatePetWithFormWithHttpInfo) | **POST** /pet/{petId} | Updates a pet in the store with form data
|
|
||||||
*PetApi* | [**uploadFile**](docs/PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
|
|
||||||
*PetApi* | [**uploadFileWithHttpInfo**](docs/PetApi.md#uploadFileWithHttpInfo) | **POST** /pet/{petId}/uploadImage | uploads an image
|
|
||||||
*PetApi* | [**uploadFileWithRequiredFile**](docs/PetApi.md#uploadFileWithRequiredFile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required)
|
|
||||||
*PetApi* | [**uploadFileWithRequiredFileWithHttpInfo**](docs/PetApi.md#uploadFileWithRequiredFileWithHttpInfo) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required)
|
|
||||||
*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteOrder) | **DELETE** /store/order/{order_id} | Delete purchase order by ID
|
|
||||||
*StoreApi* | [**deleteOrderWithHttpInfo**](docs/StoreApi.md#deleteOrderWithHttpInfo) | **DELETE** /store/order/{order_id} | Delete purchase order by ID
|
|
||||||
*StoreApi* | [**getInventory**](docs/StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
|
|
||||||
*StoreApi* | [**getInventoryWithHttpInfo**](docs/StoreApi.md#getInventoryWithHttpInfo) | **GET** /store/inventory | Returns pet inventories by status
|
|
||||||
*StoreApi* | [**getOrderById**](docs/StoreApi.md#getOrderById) | **GET** /store/order/{order_id} | Find purchase order by ID
|
|
||||||
*StoreApi* | [**getOrderByIdWithHttpInfo**](docs/StoreApi.md#getOrderByIdWithHttpInfo) | **GET** /store/order/{order_id} | Find purchase order by ID
|
|
||||||
*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
|
|
||||||
*StoreApi* | [**placeOrderWithHttpInfo**](docs/StoreApi.md#placeOrderWithHttpInfo) | **POST** /store/order | Place an order for a pet
|
|
||||||
*UserApi* | [**createUser**](docs/UserApi.md#createUser) | **POST** /user | Create user
|
|
||||||
*UserApi* | [**createUserWithHttpInfo**](docs/UserApi.md#createUserWithHttpInfo) | **POST** /user | Create user
|
|
||||||
*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
|
|
||||||
*UserApi* | [**createUsersWithArrayInputWithHttpInfo**](docs/UserApi.md#createUsersWithArrayInputWithHttpInfo) | **POST** /user/createWithArray | Creates list of users with given input array
|
|
||||||
*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
|
|
||||||
*UserApi* | [**createUsersWithListInputWithHttpInfo**](docs/UserApi.md#createUsersWithListInputWithHttpInfo) | **POST** /user/createWithList | Creates list of users with given input array
|
|
||||||
*UserApi* | [**deleteUser**](docs/UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
|
|
||||||
*UserApi* | [**deleteUserWithHttpInfo**](docs/UserApi.md#deleteUserWithHttpInfo) | **DELETE** /user/{username} | Delete user
|
|
||||||
*UserApi* | [**getUserByName**](docs/UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
|
|
||||||
*UserApi* | [**getUserByNameWithHttpInfo**](docs/UserApi.md#getUserByNameWithHttpInfo) | **GET** /user/{username} | Get user by user name
|
|
||||||
*UserApi* | [**loginUser**](docs/UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
|
|
||||||
*UserApi* | [**loginUserWithHttpInfo**](docs/UserApi.md#loginUserWithHttpInfo) | **GET** /user/login | Logs user into the system
|
|
||||||
*UserApi* | [**logoutUser**](docs/UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
|
|
||||||
*UserApi* | [**logoutUserWithHttpInfo**](docs/UserApi.md#logoutUserWithHttpInfo) | **GET** /user/logout | Logs out current logged in user session
|
|
||||||
*UserApi* | [**updateUser**](docs/UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
|
|
||||||
*UserApi* | [**updateUserWithHttpInfo**](docs/UserApi.md#updateUserWithHttpInfo) | **PUT** /user/{username} | Updated user
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation for Models
|
|
||||||
|
|
||||||
- [AdditionalPropertiesClass](docs/AdditionalPropertiesClass.md)
|
|
||||||
- [Animal](docs/Animal.md)
|
|
||||||
- [Apple](docs/Apple.md)
|
|
||||||
- [AppleReq](docs/AppleReq.md)
|
|
||||||
- [ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
|
|
||||||
- [ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
|
|
||||||
- [ArrayTest](docs/ArrayTest.md)
|
|
||||||
- [Banana](docs/Banana.md)
|
|
||||||
- [BananaReq](docs/BananaReq.md)
|
|
||||||
- [BasquePig](docs/BasquePig.md)
|
|
||||||
- [Capitalization](docs/Capitalization.md)
|
|
||||||
- [Cat](docs/Cat.md)
|
|
||||||
- [CatAllOf](docs/CatAllOf.md)
|
|
||||||
- [Category](docs/Category.md)
|
|
||||||
- [ChildCat](docs/ChildCat.md)
|
|
||||||
- [ChildCatAllOf](docs/ChildCatAllOf.md)
|
|
||||||
- [ClassModel](docs/ClassModel.md)
|
|
||||||
- [Client](docs/Client.md)
|
|
||||||
- [ComplexQuadrilateral](docs/ComplexQuadrilateral.md)
|
|
||||||
- [DanishPig](docs/DanishPig.md)
|
|
||||||
- [DeprecatedObject](docs/DeprecatedObject.md)
|
|
||||||
- [Dog](docs/Dog.md)
|
|
||||||
- [DogAllOf](docs/DogAllOf.md)
|
|
||||||
- [Drawing](docs/Drawing.md)
|
|
||||||
- [EnumArrays](docs/EnumArrays.md)
|
|
||||||
- [EnumClass](docs/EnumClass.md)
|
|
||||||
- [EnumTest](docs/EnumTest.md)
|
|
||||||
- [EquilateralTriangle](docs/EquilateralTriangle.md)
|
|
||||||
- [FileSchemaTestClass](docs/FileSchemaTestClass.md)
|
|
||||||
- [Foo](docs/Foo.md)
|
|
||||||
- [FormatTest](docs/FormatTest.md)
|
|
||||||
- [Fruit](docs/Fruit.md)
|
|
||||||
- [FruitReq](docs/FruitReq.md)
|
|
||||||
- [GmFruit](docs/GmFruit.md)
|
|
||||||
- [GrandparentAnimal](docs/GrandparentAnimal.md)
|
|
||||||
- [HasOnlyReadOnly](docs/HasOnlyReadOnly.md)
|
|
||||||
- [HealthCheckResult](docs/HealthCheckResult.md)
|
|
||||||
- [InlineResponseDefault](docs/InlineResponseDefault.md)
|
|
||||||
- [IsoscelesTriangle](docs/IsoscelesTriangle.md)
|
|
||||||
- [Mammal](docs/Mammal.md)
|
|
||||||
- [MapTest](docs/MapTest.md)
|
|
||||||
- [MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md)
|
|
||||||
- [Model200Response](docs/Model200Response.md)
|
|
||||||
- [ModelApiResponse](docs/ModelApiResponse.md)
|
|
||||||
- [ModelReturn](docs/ModelReturn.md)
|
|
||||||
- [Name](docs/Name.md)
|
|
||||||
- [NullableClass](docs/NullableClass.md)
|
|
||||||
- [NullableShape](docs/NullableShape.md)
|
|
||||||
- [NumberOnly](docs/NumberOnly.md)
|
|
||||||
- [ObjectWithDeprecatedFields](docs/ObjectWithDeprecatedFields.md)
|
|
||||||
- [Order](docs/Order.md)
|
|
||||||
- [OuterComposite](docs/OuterComposite.md)
|
|
||||||
- [OuterEnum](docs/OuterEnum.md)
|
|
||||||
- [OuterEnumDefaultValue](docs/OuterEnumDefaultValue.md)
|
|
||||||
- [OuterEnumInteger](docs/OuterEnumInteger.md)
|
|
||||||
- [OuterEnumIntegerDefaultValue](docs/OuterEnumIntegerDefaultValue.md)
|
|
||||||
- [ParentPet](docs/ParentPet.md)
|
|
||||||
- [Pet](docs/Pet.md)
|
|
||||||
- [Pig](docs/Pig.md)
|
|
||||||
- [Quadrilateral](docs/Quadrilateral.md)
|
|
||||||
- [QuadrilateralInterface](docs/QuadrilateralInterface.md)
|
|
||||||
- [ReadOnlyFirst](docs/ReadOnlyFirst.md)
|
|
||||||
- [ScaleneTriangle](docs/ScaleneTriangle.md)
|
|
||||||
- [Shape](docs/Shape.md)
|
|
||||||
- [ShapeInterface](docs/ShapeInterface.md)
|
|
||||||
- [ShapeOrNull](docs/ShapeOrNull.md)
|
|
||||||
- [SimpleQuadrilateral](docs/SimpleQuadrilateral.md)
|
|
||||||
- [SpecialModelName](docs/SpecialModelName.md)
|
|
||||||
- [Tag](docs/Tag.md)
|
|
||||||
- [Triangle](docs/Triangle.md)
|
|
||||||
- [TriangleInterface](docs/TriangleInterface.md)
|
|
||||||
- [User](docs/User.md)
|
|
||||||
- [Whale](docs/Whale.md)
|
|
||||||
- [Zebra](docs/Zebra.md)
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation for Authorization
|
|
||||||
|
|
||||||
Authentication schemes defined for the API:
|
|
||||||
### api_key
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: API key
|
|
||||||
- **API key parameter name**: api_key
|
|
||||||
- **Location**: HTTP header
|
|
||||||
|
|
||||||
### api_key_query
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: API key
|
|
||||||
- **API key parameter name**: api_key_query
|
|
||||||
- **Location**: URL query string
|
|
||||||
|
|
||||||
### bearer_test
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: HTTP basic authentication
|
|
||||||
|
|
||||||
### http_basic_test
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: HTTP basic authentication
|
|
||||||
|
|
||||||
### http_signature_test
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: HTTP basic authentication
|
|
||||||
|
|
||||||
### petstore_auth
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: OAuth
|
|
||||||
- **Flow**: implicit
|
|
||||||
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
|
|
||||||
- **Scopes**:
|
|
||||||
- write:pets: modify pets in your account
|
|
||||||
- read:pets: read your pets
|
|
||||||
|
|
||||||
|
|
||||||
## Recommendation
|
|
||||||
|
|
||||||
It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues.
|
|
||||||
However, the instances of the api clients created from the `ApiClient` are thread-safe and can be re-used.
|
|
||||||
|
|
||||||
## Author
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,80 +0,0 @@
|
|||||||
apply plugin: 'idea'
|
|
||||||
apply plugin: 'eclipse'
|
|
||||||
|
|
||||||
group = 'org.openapitools'
|
|
||||||
version = '1.0.0'
|
|
||||||
|
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: 'java'
|
|
||||||
apply plugin: 'maven-publish'
|
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
|
|
||||||
// Some text from the schema is copy pasted into the source files as UTF-8
|
|
||||||
// but the default still seems to be to use platform encoding
|
|
||||||
tasks.withType(JavaCompile) {
|
|
||||||
configure(options) {
|
|
||||||
options.encoding = 'UTF-8'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
javadoc {
|
|
||||||
options.encoding = 'UTF-8'
|
|
||||||
}
|
|
||||||
|
|
||||||
publishing {
|
|
||||||
publications {
|
|
||||||
maven(MavenPublication) {
|
|
||||||
artifactId = 'petstore-openapi3-native'
|
|
||||||
from components.java
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
task execute(type:JavaExec) {
|
|
||||||
main = System.getProperty('mainClass')
|
|
||||||
classpath = sourceSets.main.runtimeClasspath
|
|
||||||
}
|
|
||||||
|
|
||||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
||||||
classifier = 'sources'
|
|
||||||
from sourceSets.main.allSource
|
|
||||||
}
|
|
||||||
|
|
||||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
||||||
classifier = 'javadoc'
|
|
||||||
from javadoc.destinationDir
|
|
||||||
}
|
|
||||||
|
|
||||||
artifacts {
|
|
||||||
archives sourcesJar
|
|
||||||
archives javadocJar
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
ext {
|
|
||||||
swagger_annotations_version = "1.5.22"
|
|
||||||
jackson_version = "2.10.4"
|
|
||||||
junit_version = "4.13.2"
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
|
|
||||||
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
|
||||||
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
|
|
||||||
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
|
|
||||||
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
|
|
||||||
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
|
||||||
implementation "org.openapitools:jackson-databind-nullable:0.2.1"
|
|
||||||
implementation 'javax.annotation:javax.annotation-api:1.3.2'
|
|
||||||
testImplementation "junit:junit:$junit_version"
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
# TODO
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# AdditionalPropertiesClass
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**mapProperty** | **Map<String, String>** | | [optional]
|
|
||||||
**mapOfMapProperty** | **Map<String, Map<String, String>>** | | [optional]
|
|
||||||
**anytype1** | **Object** | | [optional]
|
|
||||||
**mapWithUndeclaredPropertiesAnytype1** | **Object** | | [optional]
|
|
||||||
**mapWithUndeclaredPropertiesAnytype2** | **Object** | | [optional]
|
|
||||||
**mapWithUndeclaredPropertiesAnytype3** | **Map<String, Object>** | | [optional]
|
|
||||||
**emptyMap** | **Object** | an object with no declared properties and no undeclared properties, hence it's an empty map. | [optional]
|
|
||||||
**mapWithUndeclaredPropertiesString** | **Map<String, String>** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Animal
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**className** | **String** | |
|
|
||||||
**color** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,144 +0,0 @@
|
|||||||
# AnotherFakeApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**call123testSpecialTags**](AnotherFakeApi.md#call123testSpecialTags) | **PATCH** /another-fake/dummy | To test special tags
|
|
||||||
[**call123testSpecialTagsWithHttpInfo**](AnotherFakeApi.md#call123testSpecialTagsWithHttpInfo) | **PATCH** /another-fake/dummy | To test special tags
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## call123testSpecialTags
|
|
||||||
|
|
||||||
> Client call123testSpecialTags(client)
|
|
||||||
|
|
||||||
To test special tags
|
|
||||||
|
|
||||||
To test special tags and operation ID starting with number
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.ApiClient;
|
|
||||||
import org.openapitools.client.ApiException;
|
|
||||||
import org.openapitools.client.Configuration;
|
|
||||||
import org.openapitools.client.models.*;
|
|
||||||
import org.openapitools.client.api.AnotherFakeApi;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
|
||||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
|
||||||
|
|
||||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
|
||||||
Client client = new Client(); // Client | client model
|
|
||||||
try {
|
|
||||||
Client result = apiInstance.call123testSpecialTags(client);
|
|
||||||
System.out.println(result);
|
|
||||||
} catch (ApiException e) {
|
|
||||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
|
||||||
System.err.println("Status code: " + e.getCode());
|
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**client** | [**Client**](Client.md)| client model |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**Client**](Client.md)
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
### HTTP response details
|
|
||||||
| Status code | Description | Response headers |
|
|
||||||
|-------------|-------------|------------------|
|
|
||||||
| **200** | successful operation | - |
|
|
||||||
|
|
||||||
## call123testSpecialTagsWithHttpInfo
|
|
||||||
|
|
||||||
> ApiResponse<Client> call123testSpecialTags call123testSpecialTagsWithHttpInfo(client)
|
|
||||||
|
|
||||||
To test special tags
|
|
||||||
|
|
||||||
To test special tags and operation ID starting with number
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.ApiClient;
|
|
||||||
import org.openapitools.client.ApiException;
|
|
||||||
import org.openapitools.client.ApiResponse;
|
|
||||||
import org.openapitools.client.Configuration;
|
|
||||||
import org.openapitools.client.models.*;
|
|
||||||
import org.openapitools.client.api.AnotherFakeApi;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
|
||||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
|
||||||
|
|
||||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
|
||||||
Client client = new Client(); // Client | client model
|
|
||||||
try {
|
|
||||||
ApiResponse<Client> response = apiInstance.call123testSpecialTagsWithHttpInfo(client);
|
|
||||||
System.out.println("Status code: " + response.getStatusCode());
|
|
||||||
System.out.println("Response headers: " + response.getHeaders());
|
|
||||||
System.out.println("Response body: " + response.getData());
|
|
||||||
} catch (ApiException e) {
|
|
||||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
|
||||||
System.err.println("Status code: " + e.getCode());
|
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**client** | [**Client**](Client.md)| client model |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
ApiResponse<[**Client**](Client.md)>
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
### HTTP response details
|
|
||||||
| Status code | Description | Response headers |
|
|
||||||
|-------------|-------------|------------------|
|
|
||||||
| **200** | successful operation | - |
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Apple
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**cultivar** | **String** | | [optional]
|
|
||||||
**origin** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# AppleReq
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**cultivar** | **String** | |
|
|
||||||
**mealy** | **Boolean** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ArrayOfArrayOfNumberOnly
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ArrayOfNumberOnly
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**arrayNumber** | **List<BigDecimal>** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ArrayTest
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**arrayOfString** | **List<String>** | | [optional]
|
|
||||||
**arrayArrayOfInteger** | **List<List<Long>>** | | [optional]
|
|
||||||
**arrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Banana
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**lengthCm** | **BigDecimal** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# BananaReq
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**lengthCm** | **BigDecimal** | |
|
|
||||||
**sweet** | **Boolean** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# BasquePig
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**className** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Capitalization
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**smallCamel** | **String** | | [optional]
|
|
||||||
**capitalCamel** | **String** | | [optional]
|
|
||||||
**smallSnake** | **String** | | [optional]
|
|
||||||
**capitalSnake** | **String** | | [optional]
|
|
||||||
**scAETHFlowPoints** | **String** | | [optional]
|
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Cat
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**declawed** | **Boolean** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# CatAllOf
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**declawed** | **Boolean** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Category
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**id** | **Long** | | [optional]
|
|
||||||
**name** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ChildCat
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**name** | **String** | | [optional]
|
|
||||||
**petType** | [**String**](#String) | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: String
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
CHILDCAT | "ChildCat"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ChildCatAllOf
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**name** | **String** | | [optional]
|
|
||||||
**petType** | [**String**](#String) | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: String
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
CHILDCAT | "ChildCat"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ClassModel
|
|
||||||
|
|
||||||
Model for testing model with \"_class\" property
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**propertyClass** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Client
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**client** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ComplexQuadrilateral
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**shapeType** | **String** | |
|
|
||||||
**quadrilateralType** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# DanishPig
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**className** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,132 +0,0 @@
|
|||||||
# DefaultApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**fooGet**](DefaultApi.md#fooGet) | **GET** /foo |
|
|
||||||
[**fooGetWithHttpInfo**](DefaultApi.md#fooGetWithHttpInfo) | **GET** /foo |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## fooGet
|
|
||||||
|
|
||||||
> InlineResponseDefault fooGet()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.ApiClient;
|
|
||||||
import org.openapitools.client.ApiException;
|
|
||||||
import org.openapitools.client.Configuration;
|
|
||||||
import org.openapitools.client.models.*;
|
|
||||||
import org.openapitools.client.api.DefaultApi;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
|
||||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
|
||||||
|
|
||||||
DefaultApi apiInstance = new DefaultApi(defaultClient);
|
|
||||||
try {
|
|
||||||
InlineResponseDefault result = apiInstance.fooGet();
|
|
||||||
System.out.println(result);
|
|
||||||
} catch (ApiException e) {
|
|
||||||
System.err.println("Exception when calling DefaultApi#fooGet");
|
|
||||||
System.err.println("Status code: " + e.getCode());
|
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**InlineResponseDefault**](InlineResponseDefault.md)
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
### HTTP response details
|
|
||||||
| Status code | Description | Response headers |
|
|
||||||
|-------------|-------------|------------------|
|
|
||||||
| **0** | response | - |
|
|
||||||
|
|
||||||
## fooGetWithHttpInfo
|
|
||||||
|
|
||||||
> ApiResponse<InlineResponseDefault> fooGet fooGetWithHttpInfo()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.ApiClient;
|
|
||||||
import org.openapitools.client.ApiException;
|
|
||||||
import org.openapitools.client.ApiResponse;
|
|
||||||
import org.openapitools.client.Configuration;
|
|
||||||
import org.openapitools.client.models.*;
|
|
||||||
import org.openapitools.client.api.DefaultApi;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
|
||||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
|
||||||
|
|
||||||
DefaultApi apiInstance = new DefaultApi(defaultClient);
|
|
||||||
try {
|
|
||||||
ApiResponse<InlineResponseDefault> response = apiInstance.fooGetWithHttpInfo();
|
|
||||||
System.out.println("Status code: " + response.getStatusCode());
|
|
||||||
System.out.println("Response headers: " + response.getHeaders());
|
|
||||||
System.out.println("Response body: " + response.getData());
|
|
||||||
} catch (ApiException e) {
|
|
||||||
System.err.println("Exception when calling DefaultApi#fooGet");
|
|
||||||
System.err.println("Status code: " + e.getCode());
|
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
ApiResponse<[**InlineResponseDefault**](InlineResponseDefault.md)>
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
### HTTP response details
|
|
||||||
| Status code | Description | Response headers |
|
|
||||||
|-------------|-------------|------------------|
|
|
||||||
| **0** | response | - |
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# DeprecatedObject
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**name** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Dog
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**breed** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# DogAllOf
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**breed** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Drawing
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**mainShape** | [**Shape**](Shape.md) | | [optional]
|
|
||||||
**shapeOrNull** | [**ShapeOrNull**](ShapeOrNull.md) | | [optional]
|
|
||||||
**nullableShape** | [**NullableShape**](NullableShape.md) | | [optional]
|
|
||||||
**shapes** | [**List<Shape>**](Shape.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# EnumArrays
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**justSymbol** | [**JustSymbolEnum**](#JustSymbolEnum) | | [optional]
|
|
||||||
**arrayEnum** | [**List<ArrayEnumEnum>**](#List<ArrayEnumEnum>) | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: JustSymbolEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
GREATER_THAN_OR_EQUAL_TO | ">="
|
|
||||||
DOLLAR | "$"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: List<ArrayEnumEnum>
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
FISH | "fish"
|
|
||||||
CRAB | "crab"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# EnumClass
|
|
||||||
|
|
||||||
## Enum
|
|
||||||
|
|
||||||
|
|
||||||
* `_ABC` (value: `"_abc"`)
|
|
||||||
|
|
||||||
* `_EFG` (value: `"-efg"`)
|
|
||||||
|
|
||||||
* `_XYZ_` (value: `"(xyz)"`)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# EnumTest
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**enumString** | [**EnumStringEnum**](#EnumStringEnum) | | [optional]
|
|
||||||
**enumStringRequired** | [**EnumStringRequiredEnum**](#EnumStringRequiredEnum) | |
|
|
||||||
**enumInteger** | [**EnumIntegerEnum**](#EnumIntegerEnum) | | [optional]
|
|
||||||
**enumIntegerOnly** | [**EnumIntegerOnlyEnum**](#EnumIntegerOnlyEnum) | | [optional]
|
|
||||||
**enumNumber** | [**EnumNumberEnum**](#EnumNumberEnum) | | [optional]
|
|
||||||
**outerEnum** | **OuterEnum** | | [optional]
|
|
||||||
**outerEnumInteger** | **OuterEnumInteger** | | [optional]
|
|
||||||
**outerEnumDefaultValue** | **OuterEnumDefaultValue** | | [optional]
|
|
||||||
**outerEnumIntegerDefaultValue** | **OuterEnumIntegerDefaultValue** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: EnumStringEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
UPPER | "UPPER"
|
|
||||||
LOWER | "lower"
|
|
||||||
EMPTY | ""
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: EnumStringRequiredEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
UPPER | "UPPER"
|
|
||||||
LOWER | "lower"
|
|
||||||
EMPTY | ""
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: EnumIntegerEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
NUMBER_1 | 1
|
|
||||||
NUMBER_MINUS_1 | -1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: EnumIntegerOnlyEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
NUMBER_2 | 2
|
|
||||||
NUMBER_MINUS_2 | -2
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: EnumNumberEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
NUMBER_1_DOT_1 | 1.1
|
|
||||||
NUMBER_MINUS_1_DOT_2 | -1.2
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# EquilateralTriangle
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**shapeType** | **String** | |
|
|
||||||
**triangleType** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,158 +0,0 @@
|
|||||||
# FakeClassnameTags123Api
|
|
||||||
|
|
||||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**testClassname**](FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
|
|
||||||
[**testClassnameWithHttpInfo**](FakeClassnameTags123Api.md#testClassnameWithHttpInfo) | **PATCH** /fake_classname_test | To test class name in snake case
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## testClassname
|
|
||||||
|
|
||||||
> Client testClassname(client)
|
|
||||||
|
|
||||||
To test class name in snake case
|
|
||||||
|
|
||||||
To test class name in snake case
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.ApiClient;
|
|
||||||
import org.openapitools.client.ApiException;
|
|
||||||
import org.openapitools.client.Configuration;
|
|
||||||
import org.openapitools.client.auth.*;
|
|
||||||
import org.openapitools.client.models.*;
|
|
||||||
import org.openapitools.client.api.FakeClassnameTags123Api;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
|
||||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
|
||||||
|
|
||||||
// Configure API key authorization: api_key_query
|
|
||||||
ApiKeyAuth api_key_query = (ApiKeyAuth) defaultClient.getAuthentication("api_key_query");
|
|
||||||
api_key_query.setApiKey("YOUR API KEY");
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//api_key_query.setApiKeyPrefix("Token");
|
|
||||||
|
|
||||||
FakeClassnameTags123Api apiInstance = new FakeClassnameTags123Api(defaultClient);
|
|
||||||
Client client = new Client(); // Client | client model
|
|
||||||
try {
|
|
||||||
Client result = apiInstance.testClassname(client);
|
|
||||||
System.out.println(result);
|
|
||||||
} catch (ApiException e) {
|
|
||||||
System.err.println("Exception when calling FakeClassnameTags123Api#testClassname");
|
|
||||||
System.err.println("Status code: " + e.getCode());
|
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**client** | [**Client**](Client.md)| client model |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**Client**](Client.md)
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[api_key_query](../README.md#api_key_query)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
### HTTP response details
|
|
||||||
| Status code | Description | Response headers |
|
|
||||||
|-------------|-------------|------------------|
|
|
||||||
| **200** | successful operation | - |
|
|
||||||
|
|
||||||
## testClassnameWithHttpInfo
|
|
||||||
|
|
||||||
> ApiResponse<Client> testClassname testClassnameWithHttpInfo(client)
|
|
||||||
|
|
||||||
To test class name in snake case
|
|
||||||
|
|
||||||
To test class name in snake case
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.ApiClient;
|
|
||||||
import org.openapitools.client.ApiException;
|
|
||||||
import org.openapitools.client.ApiResponse;
|
|
||||||
import org.openapitools.client.Configuration;
|
|
||||||
import org.openapitools.client.auth.*;
|
|
||||||
import org.openapitools.client.models.*;
|
|
||||||
import org.openapitools.client.api.FakeClassnameTags123Api;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
|
||||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
|
||||||
|
|
||||||
// Configure API key authorization: api_key_query
|
|
||||||
ApiKeyAuth api_key_query = (ApiKeyAuth) defaultClient.getAuthentication("api_key_query");
|
|
||||||
api_key_query.setApiKey("YOUR API KEY");
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//api_key_query.setApiKeyPrefix("Token");
|
|
||||||
|
|
||||||
FakeClassnameTags123Api apiInstance = new FakeClassnameTags123Api(defaultClient);
|
|
||||||
Client client = new Client(); // Client | client model
|
|
||||||
try {
|
|
||||||
ApiResponse<Client> response = apiInstance.testClassnameWithHttpInfo(client);
|
|
||||||
System.out.println("Status code: " + response.getStatusCode());
|
|
||||||
System.out.println("Response headers: " + response.getHeaders());
|
|
||||||
System.out.println("Response body: " + response.getData());
|
|
||||||
} catch (ApiException e) {
|
|
||||||
System.err.println("Exception when calling FakeClassnameTags123Api#testClassname");
|
|
||||||
System.err.println("Status code: " + e.getCode());
|
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**client** | [**Client**](Client.md)| client model |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
ApiResponse<[**Client**](Client.md)>
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[api_key_query](../README.md#api_key_query)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
### HTTP response details
|
|
||||||
| Status code | Description | Response headers |
|
|
||||||
|-------------|-------------|------------------|
|
|
||||||
| **200** | successful operation | - |
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# FileSchemaTestClass
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**file** | [**java.io.File**](java.io.File.md) | | [optional]
|
|
||||||
**files** | [**List<java.io.File>**](java.io.File.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Foo
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**bar** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# FormatTest
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**integer** | **Integer** | | [optional]
|
|
||||||
**int32** | **Integer** | | [optional]
|
|
||||||
**int64** | **Long** | | [optional]
|
|
||||||
**number** | **BigDecimal** | |
|
|
||||||
**_float** | **Float** | | [optional]
|
|
||||||
**_double** | **Double** | | [optional]
|
|
||||||
**decimal** | **BigDecimal** | | [optional]
|
|
||||||
**string** | **String** | | [optional]
|
|
||||||
**_byte** | **byte[]** | |
|
|
||||||
**binary** | **File** | | [optional]
|
|
||||||
**date** | **LocalDate** | |
|
|
||||||
**dateTime** | **OffsetDateTime** | | [optional]
|
|
||||||
**uuid** | **UUID** | | [optional]
|
|
||||||
**password** | **String** | |
|
|
||||||
**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional]
|
|
||||||
**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Fruit
|
|
||||||
|
|
||||||
## oneOf schemas
|
|
||||||
* [Apple](Apple.md)
|
|
||||||
* [Banana](Banana.md)
|
|
||||||
|
|
||||||
## Example
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.model.Fruit;
|
|
||||||
import org.openapitools.client.model.Apple;
|
|
||||||
import org.openapitools.client.model.Banana;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
Fruit exampleFruit = new Fruit();
|
|
||||||
|
|
||||||
// create a new Apple
|
|
||||||
Apple exampleApple = new Apple();
|
|
||||||
// set Fruit to Apple
|
|
||||||
exampleFruit.setActualInstance(exampleApple);
|
|
||||||
// to get back the Apple set earlier
|
|
||||||
Apple testApple = (Apple) exampleFruit.getActualInstance();
|
|
||||||
|
|
||||||
// create a new Banana
|
|
||||||
Banana exampleBanana = new Banana();
|
|
||||||
// set Fruit to Banana
|
|
||||||
exampleFruit.setActualInstance(exampleBanana);
|
|
||||||
// to get back the Banana set earlier
|
|
||||||
Banana testBanana = (Banana) exampleFruit.getActualInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# FruitReq
|
|
||||||
|
|
||||||
## oneOf schemas
|
|
||||||
* [AppleReq](AppleReq.md)
|
|
||||||
* [BananaReq](BananaReq.md)
|
|
||||||
|
|
||||||
NOTE: this class is nullable.
|
|
||||||
|
|
||||||
## Example
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.model.FruitReq;
|
|
||||||
import org.openapitools.client.model.AppleReq;
|
|
||||||
import org.openapitools.client.model.BananaReq;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
FruitReq exampleFruitReq = new FruitReq();
|
|
||||||
|
|
||||||
// create a new AppleReq
|
|
||||||
AppleReq exampleAppleReq = new AppleReq();
|
|
||||||
// set FruitReq to AppleReq
|
|
||||||
exampleFruitReq.setActualInstance(exampleAppleReq);
|
|
||||||
// to get back the AppleReq set earlier
|
|
||||||
AppleReq testAppleReq = (AppleReq) exampleFruitReq.getActualInstance();
|
|
||||||
|
|
||||||
// create a new BananaReq
|
|
||||||
BananaReq exampleBananaReq = new BananaReq();
|
|
||||||
// set FruitReq to BananaReq
|
|
||||||
exampleFruitReq.setActualInstance(exampleBananaReq);
|
|
||||||
// to get back the BananaReq set earlier
|
|
||||||
BananaReq testBananaReq = (BananaReq) exampleFruitReq.getActualInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# GmFruit
|
|
||||||
|
|
||||||
## anyOf schemas
|
|
||||||
* [Apple](Apple.md)
|
|
||||||
* [Banana](Banana.md)
|
|
||||||
|
|
||||||
## Example
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.model.GmFruit;
|
|
||||||
import org.openapitools.client.model.Apple;
|
|
||||||
import org.openapitools.client.model.Banana;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
GmFruit exampleGmFruit = new GmFruit();
|
|
||||||
|
|
||||||
// create a new Apple
|
|
||||||
Apple exampleApple = new Apple();
|
|
||||||
// set GmFruit to Apple
|
|
||||||
exampleGmFruit.setActualInstance(exampleApple);
|
|
||||||
// to get back the Apple set earlier
|
|
||||||
Apple testApple = (Apple) exampleGmFruit.getActualInstance();
|
|
||||||
|
|
||||||
// create a new Banana
|
|
||||||
Banana exampleBanana = new Banana();
|
|
||||||
// set GmFruit to Banana
|
|
||||||
exampleGmFruit.setActualInstance(exampleBanana);
|
|
||||||
// to get back the Banana set earlier
|
|
||||||
Banana testBanana = (Banana) exampleGmFruit.getActualInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# GrandparentAnimal
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**petType** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# HasOnlyReadOnly
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**bar** | **String** | | [optional] [readonly]
|
|
||||||
**foo** | **String** | | [optional] [readonly]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# HealthCheckResult
|
|
||||||
|
|
||||||
Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model.
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**nullableMessage** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# InlineObject
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**name** | **String** | Updated name of the pet | [optional]
|
|
||||||
**status** | **String** | Updated status of the pet | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# InlineObject1
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**additionalMetadata** | **String** | Additional data to pass to server | [optional]
|
|
||||||
**file** | **File** | file to upload | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# InlineObject2
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**enumFormStringArray** | [**List<EnumFormStringArrayEnum>**](#List<EnumFormStringArrayEnum>) | Form parameter enum test (string array) | [optional]
|
|
||||||
**enumFormString** | [**EnumFormStringEnum**](#EnumFormStringEnum) | Form parameter enum test (string) | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: List<EnumFormStringArrayEnum>
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
GREATER_THAN | ">"
|
|
||||||
DOLLAR | "$"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: EnumFormStringEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
_ABC | "_abc"
|
|
||||||
_EFG | "-efg"
|
|
||||||
_XYZ_ | "(xyz)"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# InlineObject3
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**integer** | **Integer** | None | [optional]
|
|
||||||
**int32** | **Integer** | None | [optional]
|
|
||||||
**int64** | **Long** | None | [optional]
|
|
||||||
**number** | **BigDecimal** | None |
|
|
||||||
**_float** | **Float** | None | [optional]
|
|
||||||
**_double** | **Double** | None |
|
|
||||||
**string** | **String** | None | [optional]
|
|
||||||
**patternWithoutDelimiter** | **String** | None |
|
|
||||||
**_byte** | **byte[]** | None |
|
|
||||||
**binary** | **File** | None | [optional]
|
|
||||||
**date** | **LocalDate** | None | [optional]
|
|
||||||
**dateTime** | **OffsetDateTime** | None | [optional]
|
|
||||||
**password** | **String** | None | [optional]
|
|
||||||
**callback** | **String** | None | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# InlineObject4
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**param** | **String** | field1 |
|
|
||||||
**param2** | **String** | field2 |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# InlineObject5
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**additionalMetadata** | **String** | Additional data to pass to server | [optional]
|
|
||||||
**requiredFile** | **File** | file to upload |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# InlineResponseDefault
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**string** | [**Foo**](Foo.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# IsoscelesTriangle
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**shapeType** | **String** | |
|
|
||||||
**triangleType** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Mammal
|
|
||||||
|
|
||||||
## oneOf schemas
|
|
||||||
* [Pig](Pig.md)
|
|
||||||
* [Whale](Whale.md)
|
|
||||||
* [Zebra](Zebra.md)
|
|
||||||
|
|
||||||
## Example
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.model.Mammal;
|
|
||||||
import org.openapitools.client.model.Pig;
|
|
||||||
import org.openapitools.client.model.Whale;
|
|
||||||
import org.openapitools.client.model.Zebra;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
Mammal exampleMammal = new Mammal();
|
|
||||||
|
|
||||||
// create a new Pig
|
|
||||||
Pig examplePig = new Pig();
|
|
||||||
// set Mammal to Pig
|
|
||||||
exampleMammal.setActualInstance(examplePig);
|
|
||||||
// to get back the Pig set earlier
|
|
||||||
Pig testPig = (Pig) exampleMammal.getActualInstance();
|
|
||||||
|
|
||||||
// create a new Whale
|
|
||||||
Whale exampleWhale = new Whale();
|
|
||||||
// set Mammal to Whale
|
|
||||||
exampleMammal.setActualInstance(exampleWhale);
|
|
||||||
// to get back the Whale set earlier
|
|
||||||
Whale testWhale = (Whale) exampleMammal.getActualInstance();
|
|
||||||
|
|
||||||
// create a new Zebra
|
|
||||||
Zebra exampleZebra = new Zebra();
|
|
||||||
// set Mammal to Zebra
|
|
||||||
exampleMammal.setActualInstance(exampleZebra);
|
|
||||||
// to get back the Zebra set earlier
|
|
||||||
Zebra testZebra = (Zebra) exampleMammal.getActualInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# MapTest
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**mapMapOfString** | **Map<String, Map<String, String>>** | | [optional]
|
|
||||||
**mapOfEnumString** | [**Map<String, InnerEnum>**](#Map<String, InnerEnum>) | | [optional]
|
|
||||||
**directMap** | **Map<String, Boolean>** | | [optional]
|
|
||||||
**indirectMap** | **Map<String, Boolean>** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: Map<String, InnerEnum>
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
UPPER | "UPPER"
|
|
||||||
LOWER | "lower"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# MixedPropertiesAndAdditionalPropertiesClass
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**uuid** | **UUID** | | [optional]
|
|
||||||
**dateTime** | **OffsetDateTime** | | [optional]
|
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Model200Response
|
|
||||||
|
|
||||||
Model for testing model name starting with number
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**name** | **Integer** | | [optional]
|
|
||||||
**propertyClass** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ModelApiResponse
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**code** | **Integer** | | [optional]
|
|
||||||
**type** | **String** | | [optional]
|
|
||||||
**message** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ModelReturn
|
|
||||||
|
|
||||||
Model for testing reserved words
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**_return** | **Integer** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Name
|
|
||||||
|
|
||||||
Model for testing model name same as property name
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**name** | **Integer** | |
|
|
||||||
**snakeCase** | **Integer** | | [optional] [readonly]
|
|
||||||
**property** | **String** | | [optional]
|
|
||||||
**_123number** | **Integer** | | [optional] [readonly]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# NullableClass
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**integerProp** | **Integer** | | [optional]
|
|
||||||
**numberProp** | **BigDecimal** | | [optional]
|
|
||||||
**booleanProp** | **Boolean** | | [optional]
|
|
||||||
**stringProp** | **String** | | [optional]
|
|
||||||
**dateProp** | **LocalDate** | | [optional]
|
|
||||||
**datetimeProp** | **OffsetDateTime** | | [optional]
|
|
||||||
**arrayNullableProp** | **List<Object>** | | [optional]
|
|
||||||
**arrayAndItemsNullableProp** | **List<Object>** | | [optional]
|
|
||||||
**arrayItemsNullable** | **List<Object>** | | [optional]
|
|
||||||
**objectNullableProp** | **Map<String, Object>** | | [optional]
|
|
||||||
**objectAndItemsNullableProp** | **Map<String, Object>** | | [optional]
|
|
||||||
**objectItemsNullable** | **Map<String, Object>** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# NullableShape
|
|
||||||
|
|
||||||
The value may be a shape or the 'null' value. The 'nullable' attribute was introduced in OAS schema >= 3.0 and has been deprecated in OAS schema >= 3.1.
|
|
||||||
|
|
||||||
## oneOf schemas
|
|
||||||
* [Quadrilateral](Quadrilateral.md)
|
|
||||||
* [Triangle](Triangle.md)
|
|
||||||
|
|
||||||
NOTE: this class is nullable.
|
|
||||||
|
|
||||||
## Example
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.model.NullableShape;
|
|
||||||
import org.openapitools.client.model.Quadrilateral;
|
|
||||||
import org.openapitools.client.model.Triangle;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
NullableShape exampleNullableShape = new NullableShape();
|
|
||||||
|
|
||||||
// create a new Quadrilateral
|
|
||||||
Quadrilateral exampleQuadrilateral = new Quadrilateral();
|
|
||||||
// set NullableShape to Quadrilateral
|
|
||||||
exampleNullableShape.setActualInstance(exampleQuadrilateral);
|
|
||||||
// to get back the Quadrilateral set earlier
|
|
||||||
Quadrilateral testQuadrilateral = (Quadrilateral) exampleNullableShape.getActualInstance();
|
|
||||||
|
|
||||||
// create a new Triangle
|
|
||||||
Triangle exampleTriangle = new Triangle();
|
|
||||||
// set NullableShape to Triangle
|
|
||||||
exampleNullableShape.setActualInstance(exampleTriangle);
|
|
||||||
// to get back the Triangle set earlier
|
|
||||||
Triangle testTriangle = (Triangle) exampleNullableShape.getActualInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# NumberOnly
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**justNumber** | **BigDecimal** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ObjectWithDeprecatedFields
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**uuid** | **String** | | [optional]
|
|
||||||
**id** | **BigDecimal** | | [optional]
|
|
||||||
**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional]
|
|
||||||
**bars** | **List<String>** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Order
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**id** | **Long** | | [optional]
|
|
||||||
**petId** | **Long** | | [optional]
|
|
||||||
**quantity** | **Integer** | | [optional]
|
|
||||||
**shipDate** | **OffsetDateTime** | | [optional]
|
|
||||||
**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional]
|
|
||||||
**complete** | **Boolean** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: StatusEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
PLACED | "placed"
|
|
||||||
APPROVED | "approved"
|
|
||||||
DELIVERED | "delivered"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# OuterComposite
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**myNumber** | **BigDecimal** | | [optional]
|
|
||||||
**myString** | **String** | | [optional]
|
|
||||||
**myBoolean** | **Boolean** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# OuterEnum
|
|
||||||
|
|
||||||
## Enum
|
|
||||||
|
|
||||||
|
|
||||||
* `PLACED` (value: `"placed"`)
|
|
||||||
|
|
||||||
* `APPROVED` (value: `"approved"`)
|
|
||||||
|
|
||||||
* `DELIVERED` (value: `"delivered"`)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# OuterEnumDefaultValue
|
|
||||||
|
|
||||||
## Enum
|
|
||||||
|
|
||||||
|
|
||||||
* `PLACED` (value: `"placed"`)
|
|
||||||
|
|
||||||
* `APPROVED` (value: `"approved"`)
|
|
||||||
|
|
||||||
* `DELIVERED` (value: `"delivered"`)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# OuterEnumInteger
|
|
||||||
|
|
||||||
## Enum
|
|
||||||
|
|
||||||
|
|
||||||
* `NUMBER_0` (value: `0`)
|
|
||||||
|
|
||||||
* `NUMBER_1` (value: `1`)
|
|
||||||
|
|
||||||
* `NUMBER_2` (value: `2`)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# OuterEnumIntegerDefaultValue
|
|
||||||
|
|
||||||
## Enum
|
|
||||||
|
|
||||||
|
|
||||||
* `NUMBER_0` (value: `0`)
|
|
||||||
|
|
||||||
* `NUMBER_1` (value: `1`)
|
|
||||||
|
|
||||||
* `NUMBER_2` (value: `2`)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ParentPet
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Pet
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**id** | **Long** | | [optional]
|
|
||||||
**category** | [**Category**](Category.md) | | [optional]
|
|
||||||
**name** | **String** | |
|
|
||||||
**photoUrls** | **List<String>** | |
|
|
||||||
**tags** | [**List<Tag>**](Tag.md) | | [optional]
|
|
||||||
**status** | [**StatusEnum**](#StatusEnum) | pet status in the store | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enum: StatusEnum
|
|
||||||
|
|
||||||
Name | Value
|
|
||||||
---- | -----
|
|
||||||
AVAILABLE | "available"
|
|
||||||
PENDING | "pending"
|
|
||||||
SOLD | "sold"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,37 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Pig
|
|
||||||
|
|
||||||
## oneOf schemas
|
|
||||||
* [BasquePig](BasquePig.md)
|
|
||||||
* [DanishPig](DanishPig.md)
|
|
||||||
|
|
||||||
## Example
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.model.Pig;
|
|
||||||
import org.openapitools.client.model.BasquePig;
|
|
||||||
import org.openapitools.client.model.DanishPig;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
Pig examplePig = new Pig();
|
|
||||||
|
|
||||||
// create a new BasquePig
|
|
||||||
BasquePig exampleBasquePig = new BasquePig();
|
|
||||||
// set Pig to BasquePig
|
|
||||||
examplePig.setActualInstance(exampleBasquePig);
|
|
||||||
// to get back the BasquePig set earlier
|
|
||||||
BasquePig testBasquePig = (BasquePig) examplePig.getActualInstance();
|
|
||||||
|
|
||||||
// create a new DanishPig
|
|
||||||
DanishPig exampleDanishPig = new DanishPig();
|
|
||||||
// set Pig to DanishPig
|
|
||||||
examplePig.setActualInstance(exampleDanishPig);
|
|
||||||
// to get back the DanishPig set earlier
|
|
||||||
DanishPig testDanishPig = (DanishPig) examplePig.getActualInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Quadrilateral
|
|
||||||
|
|
||||||
## oneOf schemas
|
|
||||||
* [ComplexQuadrilateral](ComplexQuadrilateral.md)
|
|
||||||
* [SimpleQuadrilateral](SimpleQuadrilateral.md)
|
|
||||||
|
|
||||||
## Example
|
|
||||||
```java
|
|
||||||
// Import classes:
|
|
||||||
import org.openapitools.client.model.Quadrilateral;
|
|
||||||
import org.openapitools.client.model.ComplexQuadrilateral;
|
|
||||||
import org.openapitools.client.model.SimpleQuadrilateral;
|
|
||||||
|
|
||||||
public class Example {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
Quadrilateral exampleQuadrilateral = new Quadrilateral();
|
|
||||||
|
|
||||||
// create a new ComplexQuadrilateral
|
|
||||||
ComplexQuadrilateral exampleComplexQuadrilateral = new ComplexQuadrilateral();
|
|
||||||
// set Quadrilateral to ComplexQuadrilateral
|
|
||||||
exampleQuadrilateral.setActualInstance(exampleComplexQuadrilateral);
|
|
||||||
// to get back the ComplexQuadrilateral set earlier
|
|
||||||
ComplexQuadrilateral testComplexQuadrilateral = (ComplexQuadrilateral) exampleQuadrilateral.getActualInstance();
|
|
||||||
|
|
||||||
// create a new SimpleQuadrilateral
|
|
||||||
SimpleQuadrilateral exampleSimpleQuadrilateral = new SimpleQuadrilateral();
|
|
||||||
// set Quadrilateral to SimpleQuadrilateral
|
|
||||||
exampleQuadrilateral.setActualInstance(exampleSimpleQuadrilateral);
|
|
||||||
// to get back the SimpleQuadrilateral set earlier
|
|
||||||
SimpleQuadrilateral testSimpleQuadrilateral = (SimpleQuadrilateral) exampleQuadrilateral.getActualInstance();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# QuadrilateralInterface
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**quadrilateralType** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ReadOnlyFirst
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**bar** | **String** | | [optional] [readonly]
|
|
||||||
**baz** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# ScaleneTriangle
|
|
||||||
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**shapeType** | **String** | |
|
|
||||||
**triangleType** | **String** | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user