forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
200 changed files
with
21,191 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
*.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 |
23 changes: 23 additions & 0 deletions
23
samples/client/petstore/java/retrofit2rx3/.openapi-generator-ignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# 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 |
131 changes: 131 additions & 0 deletions
131
samples/client/petstore/java/retrofit2rx3/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
.gitignore | ||
.travis.yml | ||
README.md | ||
api/openapi.yaml | ||
build.gradle | ||
build.sbt | ||
docs/AdditionalPropertiesAnyType.md | ||
docs/AdditionalPropertiesArray.md | ||
docs/AdditionalPropertiesBoolean.md | ||
docs/AdditionalPropertiesClass.md | ||
docs/AdditionalPropertiesInteger.md | ||
docs/AdditionalPropertiesNumber.md | ||
docs/AdditionalPropertiesObject.md | ||
docs/AdditionalPropertiesString.md | ||
docs/Animal.md | ||
docs/AnotherFakeApi.md | ||
docs/ArrayOfArrayOfNumberOnly.md | ||
docs/ArrayOfNumberOnly.md | ||
docs/ArrayTest.md | ||
docs/BigCat.md | ||
docs/BigCatAllOf.md | ||
docs/Capitalization.md | ||
docs/Cat.md | ||
docs/CatAllOf.md | ||
docs/Category.md | ||
docs/ClassModel.md | ||
docs/Client.md | ||
docs/Dog.md | ||
docs/DogAllOf.md | ||
docs/EnumArrays.md | ||
docs/EnumClass.md | ||
docs/EnumTest.md | ||
docs/FakeApi.md | ||
docs/FakeClassnameTags123Api.md | ||
docs/FileSchemaTestClass.md | ||
docs/FormatTest.md | ||
docs/HasOnlyReadOnly.md | ||
docs/MapTest.md | ||
docs/MixedPropertiesAndAdditionalPropertiesClass.md | ||
docs/Model200Response.md | ||
docs/ModelApiResponse.md | ||
docs/ModelReturn.md | ||
docs/Name.md | ||
docs/NumberOnly.md | ||
docs/Order.md | ||
docs/OuterComposite.md | ||
docs/OuterEnum.md | ||
docs/Pet.md | ||
docs/PetApi.md | ||
docs/ReadOnlyFirst.md | ||
docs/SpecialModelName.md | ||
docs/StoreApi.md | ||
docs/Tag.md | ||
docs/TypeHolderDefault.md | ||
docs/TypeHolderExample.md | ||
docs/User.md | ||
docs/UserApi.md | ||
docs/XmlItem.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/CollectionFormats.java | ||
src/main/java/org/openapitools/client/JSON.java | ||
src/main/java/org/openapitools/client/ServerConfiguration.java | ||
src/main/java/org/openapitools/client/ServerVariable.java | ||
src/main/java/org/openapitools/client/StringUtil.java | ||
src/main/java/org/openapitools/client/api/AnotherFakeApi.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/auth/ApiKeyAuth.java | ||
src/main/java/org/openapitools/client/auth/HttpBasicAuth.java | ||
src/main/java/org/openapitools/client/auth/HttpBearerAuth.java | ||
src/main/java/org/openapitools/client/auth/OAuth.java | ||
src/main/java/org/openapitools/client/auth/OAuthFlow.java | ||
src/main/java/org/openapitools/client/auth/OAuthOkHttpClient.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java | ||
src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java | ||
src/main/java/org/openapitools/client/model/Animal.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/BigCat.java | ||
src/main/java/org/openapitools/client/model/BigCatAllOf.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/ClassModel.java | ||
src/main/java/org/openapitools/client/model/Client.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/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/FileSchemaTestClass.java | ||
src/main/java/org/openapitools/client/model/FormatTest.java | ||
src/main/java/org/openapitools/client/model/HasOnlyReadOnly.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/NumberOnly.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/Pet.java | ||
src/main/java/org/openapitools/client/model/ReadOnlyFirst.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/TypeHolderDefault.java | ||
src/main/java/org/openapitools/client/model/TypeHolderExample.java | ||
src/main/java/org/openapitools/client/model/User.java | ||
src/main/java/org/openapitools/client/model/XmlItem.java |
1 change: 1 addition & 0 deletions
1
samples/client/petstore/java/retrofit2rx3/.openapi-generator/VERSION
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5.0.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Generated by OpenAPI Generator: https://openapi-generator.tech | ||
# | ||
# Ref: https://docs.travis-ci.com/user/languages/java/ | ||
# | ||
language: java | ||
jdk: | ||
- openjdk12 | ||
- openjdk11 | ||
- openjdk10 | ||
- openjdk9 | ||
- openjdk8 | ||
before_install: | ||
# ensure gradlew has proper permission | ||
- chmod a+x ./gradlew | ||
script: | ||
# test using maven | ||
#- mvn test | ||
# test using gradle | ||
- gradle test | ||
# test using sbt | ||
# - sbt test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# petstore-retrofit2-rx3 | ||
|
||
## Requirements | ||
|
||
Building the API client library requires [Maven](https://maven.apache.org/) to be installed. | ||
|
||
## Installation & Usage | ||
|
||
To install the API client library to your local Maven repository, simply execute: | ||
|
||
```shell | ||
mvn install | ||
``` | ||
|
||
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute: | ||
|
||
```shell | ||
mvn deploy | ||
``` | ||
|
||
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information. | ||
|
||
After the client library is installed/deployed, you can use it in your Maven project by adding the following to your *pom.xml*: | ||
|
||
```xml | ||
<dependency> | ||
<groupId>org.openapitools</groupId> | ||
<artifactId>petstore-retrofit2-rx3</artifactId> | ||
<version>1.0.0</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
``` | ||
|
||
## Author | ||
|
||
|
||
|
||
|
Oops, something went wrong.