openapi-generator/samples/client/petstore/spring-cloud
2017-12-15 00:02:43 +08:00
..
.swagger-codegen Merge remote-tracking branch 'origin/master' into 2.3.0 2017-07-01 15:47:27 +08:00
src update spring petstore samples 2017-12-15 00:02:43 +08:00
.swagger-codegen-ignore add a generator for spring cloud feign 2016-07-06 10:30:09 +02:00
pom.xml update Spring cloud dependency (#5947 missed the application.yml change) (#5970) 2017-07-03 21:51:31 +08:00
README.md Update spring samples with current code. (#4874) 2017-03-03 16:34:07 +08:00

swagger-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>io.swagger</groupId>
    <artifactId>swagger-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 "io.swagger:swagger-petstore-spring-cloud:1.0.0"

Others

At first generate the JAR by executing:

mvn package

Then manually install the following JARs:

  • target/swagger-petstore-spring-cloud-1.0.0.jar
  • target/lib/*.jar