forked from loafle/openapi-generator-original
use implementation, add min version of maven, gradle (#10571)
This commit is contained in:
@@ -21,7 +21,12 @@
|
||||
Building the API client library requires:
|
||||
|
||||
1. Java {{#java8}}1.8{{/java8}}{{^java8}}1.7{{/java8}}+
|
||||
{{#jersey2}}
|
||||
2. Maven (3.8.3+)/Gradle (7.2+)
|
||||
{{/jersey2}}
|
||||
{{^jersey2}}
|
||||
2. Maven/Gradle
|
||||
{{/jersey2}}
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -57,7 +62,14 @@ Add this dependency to your project's POM:
|
||||
Add this dependency to your project's build file:
|
||||
|
||||
```groovy
|
||||
compile "{{{groupId}}}:{{{artifactId}}}:{{{artifactVersion}}}"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the '{{{artifactId}}}' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the '{{{artifactId}}}' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "{{{groupId}}}:{{{artifactId}}}:{{{artifactVersion}}}"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-apache-httpclient:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-apache-httpclient' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-apache-httpclient' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-apache-httpclient:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-google-api-client:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-google-api-client' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-google-api-client' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-google-api-client:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-java-client-jersey1:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-java-client-jersey1' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-java-client-jersey1' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-java-client-jersey1:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-localdatetime:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-jersey2-java8-localdatetime' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-jersey2-java8-localdatetime' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-jersey2-java8-localdatetime:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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-resteasy:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-resteasy' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-resteasy' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-resteasy:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-resttemplate-withxml:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-resttemplate-withxml' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-resttemplate-withxml' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-resttemplate-withxml:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-resttemplate:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-resttemplate' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-resttemplate' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-resttemplate:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-vertx-no-nullable:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-vertx-no-nullable' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-vertx-no-nullable' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-vertx-no-nullable:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-vertx:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-vertx' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-vertx' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-vertx:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-webclient-nullable-arrays:v1"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-webclient-nullable-arrays' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-webclient-nullable-arrays' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-webclient-nullable-arrays:v1"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-webclient:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-webclient' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-webclient' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-webclient:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -14,7 +14,7 @@ This specification shows how to use x-auth-id-alias extension for API keys.
|
||||
Building the API client library requires:
|
||||
|
||||
1. Java 1.7+
|
||||
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:openapi3-extensions-x-auth-id-alias-jersey2-java8:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'openapi3-extensions-x-auth-id-alias-jersey2-java8' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'openapi3-extensions-x-auth-id-alias-jersey2-java8' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:openapi3-extensions-x-auth-id-alias-jersey2-java8:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -14,7 +14,7 @@ test
|
||||
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-openapi3-jersey2-java8-special-characters:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-openapi3-jersey2-java8-special-characters' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-openapi3-jersey2-java8-special-characters' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-openapi3-jersey2-java8-special-characters:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
@@ -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-openapi3-jersey2-java8:1.0.0"
|
||||
repositories {
|
||||
mavenCentral() // Needed if the 'petstore-openapi3-jersey2-java8' jar has been published to maven central.
|
||||
mavenLocal() // Needed if the 'petstore-openapi3-jersey2-java8' jar has been published to the local maven repo.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.openapitools:petstore-openapi3-jersey2-java8:1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
### Others
|
||||
|
||||
Reference in New Issue
Block a user