mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 13:22:45 +00:00
use implementation, add min version of maven, gradle (#10571)
This commit is contained in:
@@ -14,7 +14,7 @@ This spec is mainly for testing Petstore server and contains fake endpoints, mod
|
||||
Building the API client library requires:
|
||||
|
||||
1. Java 1.8+
|
||||
2. Maven/Gradle
|
||||
2. Maven (3.8.3+)/Gradle (7.2+)
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -50,7 +50,14 @@ Add this dependency to your project's POM:
|
||||
Add this dependency to your project's build file:
|
||||
|
||||
```groovy
|
||||
compile "org.openapitools:petstore-jersey2-java8:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-jersey2-java8' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-jersey2-java8' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-jersey2-java8:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
Reference in New Issue
Block a user