openapi-generator/samples/client/petstore/java/retrofit2rx
2017-11-03 18:49:32 +08:00
..
.swagger-codegen Merge remote-tracking branch 'origin/master' into 2.3.0 2017-07-01 15:47:27 +08:00
docs update circleci to cover java google-api client, update Java petstore 2017-11-03 18:49:32 +08:00
gradle/wrapper Add sbt support for retrofit2 and retrofit2rx. 2016-06-04 21:13:10 +08:00
src Fix #6166 by adding @Deprecated annotations in Java jersey2, okhttp-gson, resteasy libraries (#6801) 2017-10-25 11:10:03 +08:00
.gitignore fix java property with the name "class" 2016-06-20 14:51:17 +08:00
.swagger-codegen-ignore add support for jsr310 dates to retrofit2 client 2016-06-20 14:32:18 +02:00
.travis.yml Remove Apache license from API client generators (#4197) 2016-11-16 21:44:49 +08:00
build.gradle Fix #6166 by adding @Deprecated annotations in Java jersey2, okhttp-gson, resteasy libraries (#6801) 2017-10-25 11:10:03 +08:00
build.sbt Fix #6166 by adding @Deprecated annotations in Java jersey2, okhttp-gson, resteasy libraries (#6801) 2017-10-25 11:10:03 +08:00
git_push.sh Fix enum model docs for JS and Java clients 2016-05-06 18:41:15 +08:00
gradle.properties Add sample client usage for retrofit2 with rx adapter and java 8 2016-01-25 10:29:13 +01:00
gradlew [Java] MIME type "*/*" default to JSON (#6188) 2017-07-27 11:36:29 +08:00
gradlew.bat update retrofit1,2 samples 2016-10-12 15:48:34 +08:00
pom.xml Fix #6166 by adding @Deprecated annotations in Java jersey2, okhttp-gson, resteasy libraries (#6801) 2017-10-25 11:10:03 +08:00
README.md add scalar converter to retrofit2 2016-03-07 09:19:55 +00:00
settings.gradle Change the artifact identifier for the retrofit2-rx sample 2016-01-25 10:29:13 +01:00

swagger-petstore-retrofit2-rx

Requirements

Building the API client library requires Maven to be installed.

Installation & Usage

To install the API client library to your local Maven repository, simply execute:

mvn install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn deploy

Refer to the official documentation 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:

<dependency>
    <groupId>io.swagger</groupId>
    <artifactId>swagger-petstore-retrofit2-rx</artifactId>
    <version>1.0.0</version>
    <scope>compile</scope>
</dependency>

Recommendation

It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issue.

Author

apiteam@swagger.io