forked from loafle/openapi-generator-original
* [java] Attach Javadoc to artifact generation. * [java] Attach source to artifact generation. * [java] Add gpg signing to artifact publishing. * [java] Add artifact URL to pom.xml . * [java] Add artifact description to pom.xml . * [java] Add artifact URL and description params to Jax RSS. * [java] Add developer info to pom.xml . * [java] Parameterise SCM info in generated pom.xml . * [java] Move GPG signing to verify phase so that .asc files are uploaded during deploy phase. * [java] Change GPG signing to be an optional via Maven profile. Can't assume all users will perform a release/deploy from an environment with correct GPG key/pass. * update java petstore smaples * camelize tag name, remove invalid file * add back missing files for okhttp-gson * fix docstring in java feign client * fix docstring with various java api clients
swagger-petstore-retrofit
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-retrofit</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.