openapi-generator/samples/client/petstore/java/retrofit2rx
2016-04-13 17:28:11 +02:00
..
src [Java + Android] Update generated samples 2016-04-13 17:28:11 +02:00
.gitignore Include parameter's default value in comment for operations 2016-03-19 16:12:34 +08:00
build.gradle [Android] Update build.gradle and pom.xml in Java libraries 2016-04-13 14:39:20 +02:00
git_push.sh Include parameter's default value in comment for operations 2016-03-19 16:12:34 +08:00
gradle.properties Add sample client usage for retrofit2 with rx adapter and java 8 2016-01-25 10:29:13 +01:00
pom.xml remove okhttp and gson dependencies 2016-03-07 10:38:27 +00: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