forked from loafle/openapi-generator-original
54 lines
1.0 KiB
Markdown
54 lines
1.0 KiB
Markdown
# petstore-spring-cloud
|
|
|
|
## Requirements
|
|
|
|
Building the API client library requires [Maven](https://maven.apache.org/) to be installed.
|
|
|
|
## Installation
|
|
|
|
To install the API client library to your local Maven repository, simply execute:
|
|
|
|
```shell
|
|
mvn install
|
|
```
|
|
|
|
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
|
|
|
|
```shell
|
|
mvn deploy
|
|
```
|
|
|
|
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information.
|
|
|
|
### Maven users
|
|
|
|
Add this dependency to your project's POM:
|
|
|
|
```xml
|
|
<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:
|
|
|
|
```groovy
|
|
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
|