openapi-generator/samples/client/petstore/java/feign
2017-04-24 18:07:17 +08:00
..
docs update java-petstore-all.sh and regenerate all java petstore sample 2016-07-07 15:53:17 +08:00
gradle/wrapper 2983: Java Feign client generator: HTTP header name should be named Accept not Accepts 2016-05-29 21:14:59 +01:00
src Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-24 18:07:17 +08:00
.gitignore fix java property with the name "class" 2016-06-20 14:51:17 +08:00
.swagger-codegen-ignore support jsr310 dates in feign client 2016-06-20 13:04:44 +02:00
.travis.yml Remove Apache license from API client generators (#4197) 2016-11-16 21:44:49 +08:00
build.gradle Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-24 18:07:17 +08:00
build.sbt Updated feign library to use latest version of OpenFeign and Jackson. (#5114) 2017-03-19 15:15:06 +08:00
git_push.sh Fix enum model docs for JS and Java clients 2016-05-06 18:41:15 +08:00
gradle.properties added unit tests to feign client 2015-12-07 01:13:20 -05:00
gradlew update java-petstore-all.sh and regenerate all java petstore sample 2016-07-07 15:53:17 +08:00
gradlew.bat [feign] Use feign-form (#4124) 2016-11-04 21:13:18 +08:00
pom.xml Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-01 15:57:43 +08:00
README.md Revert "Revert "[Java] Add auto-generated documentation in Markdown to Java clients"" 2016-04-22 10:13:54 +08:00
settings.gradle update sample and test case for java feign 2015-12-10 16:35:38 +08:00

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.

Author

apiteam@swagger.io