forked from loafle/openapi-generator-original
* Add maven-javadoc-plugin to all Java clients. * Update sample petstores for other Java clients. * Fix unknown parameter on api_client's update_params_for_auth method. * Revert "Fix unknown parameter on api_client's update_params_for_auth method." To be moved to a separate PR. This reverts commit 1ee186694241bb6d9a0dccefcdca5afe3f5a1dd2.
swagger-petstore-feign
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-feign</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.