forked from loafle/openapi-generator-original
* Update retrofit2 refs: https://nvd.nist.gov/vuln/detail/CVE-2018-1000850 https://nvd.nist.gov/vuln/detail/CVE-2018-1000844 * Update samples ./bin/java-petstore-all.sh * Implement okhttp3.Call#timeout refs https://github.com/square/okhttp/pull/4363 * Update samples ./bin/java-petstore-all.sh * Update Play26CallFactory * Fix indent
petstore-retrofit2
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>org.openapitools</groupId>
<artifactId>petstore-retrofit2</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>