openapi-generator/samples/client/petstore/java/feign
2015-12-09 23:12:42 -05:00
..
src using isBodyParam instead of vendorExtention.x-isBody 2015-12-09 23:12:42 -05:00
build.gradle added unit tests to feign client 2015-12-07 01:13:20 -05:00
gradle.properties added unit tests to feign client 2015-12-07 01:13:20 -05:00
pom.xml added support in feign for binary uploads 2015-12-07 22:34:38 -05:00
README.md added support in feign for binary uploads 2015-12-07 22:34:38 -05:00
settings.gradle added support in feign for binary uploads 2015-12-07 22:34:38 -05:00

swagger-java-client

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 libarary 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-java-client</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