forked from loafle/openapi-generator-original
* Fix import for new spring boot version #8561 * Add new versions * Fix samples * Remove unused dependencies * Revert "Remove unused dependencies" This reverts commit bdac08b80a64b74affec2cea71b524fcd87a4c1b. * Add version * Fix version * Add hystrix note this depcreated * Migrate to Junit5 * Trigger build * Add junit5 * Upgrade to new hystrix starter * Try to enable hystrix * Remove hystrix and upgrade to boot 2.5.5 * Remove hystrix * Revert yaml * Remove hysterix * Trigger build * Update docu * use 4-space instead of tabs * remove HystrixCommand * add back spring-cloud test with oas 3.0 spec * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
petstore-spring-cloud
Requirements
Building the API client library requires Maven to be installed.
Installation
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.
Maven users
Add this dependency to your project's POM:
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>petstore-spring-cloud</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Gradle users
Add this dependency to your project's build file:
compile "org.openapitools:petstore-spring-cloud:1.0.0"
Others
At first generate the JAR by executing:
mvn package
Then manually install the following JARs:
- target/petstore-spring-cloud-1.0.0.jar
- target/lib/*.jar