-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #384 from cyb3rko/java-client-update
Fix and update swagger client generation
- Loading branch information
Showing
72 changed files
with
1,446 additions
and
734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.3.1 | ||
3.0.63 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,3 @@ After the client library is installed/deployed, you can use it in your Maven pro | |
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,59 @@ | ||
apply plugin: 'idea' | ||
apply plugin: 'eclipse' | ||
|
||
group = 'io.swagger' | ||
version = '1.0.0' | ||
|
||
apply plugin: 'java-library' | ||
|
||
sourceCompatibility = JavaVersion.VERSION_1_7 | ||
targetCompatibility = JavaVersion.VERSION_1_7 | ||
plugins { | ||
id 'java' | ||
id 'maven-publish' | ||
} | ||
|
||
ext { | ||
oltu_version = "1.0.2" | ||
retrofit_version = "2.5.0" | ||
swagger_annotations_version = "1.5.15" | ||
junit_version = "4.13" | ||
threetenbp_version = "1.4.4" | ||
json_fire_version = "1.8.4" | ||
retrofit_version = "2.7.1" | ||
swagger_annotations_version = "2.0.0" | ||
junit_version = "4.12" | ||
threetenbp_version = "1.4.1" | ||
json_fire_version = "1.8.3" | ||
} | ||
|
||
dependencies { | ||
api "com.squareup.retrofit2:retrofit:$retrofit_version" | ||
api "com.squareup.retrofit2:converter-scalars:$retrofit_version" | ||
api "com.squareup.retrofit2:converter-gson:$retrofit_version" | ||
api "io.swagger:swagger-annotations:$swagger_annotations_version" | ||
implementation ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") { | ||
implementation "com.squareup.retrofit2:retrofit:$retrofit_version" | ||
implementation "com.squareup.retrofit2:converter-scalars:$retrofit_version" | ||
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version" | ||
implementation "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version" | ||
implementation ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"){ | ||
exclude group:'org.apache.oltu.oauth2' , module: 'org.apache.oltu.oauth2.common' | ||
exclude group: 'org.json', module: 'json' | ||
} | ||
api "io.gsonfire:gson-fire:$json_fire_version" | ||
api "org.threeten:threetenbp:$threetenbp_version" | ||
implementation "org.json:json:20180130" | ||
implementation "io.gsonfire:gson-fire:$json_fire_version" | ||
implementation "org.threeten:threetenbp:$threetenbp_version" | ||
|
||
testImplementation "junit:junit:$junit_version" | ||
} | ||
|
||
group = 'io.swagger' | ||
version = '1.0.0' | ||
description = 'Swagger Java' | ||
|
||
java.sourceCompatibility = 11 | ||
java.targetCompatibility = 11 | ||
|
||
tasks.register('testsJar', Jar) { | ||
archiveClassifier = 'tests' | ||
from(sourceSets.test.output) | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
from(components.java) | ||
artifact(testsJar) | ||
} | ||
} | ||
} | ||
|
||
tasks.withType(JavaCompile) { | ||
options.encoding = 'UTF-8' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
|
||
# Application | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**defaultPriority** | **Long** | The default priority of messages sent by this application. Defaults to 0. | [optional] | ||
**description** | **String** | The description of the application. | | ||
**id** | **Long** | The application id. | | ||
**image** | **String** | The image of the application. | | ||
**internal** | **Boolean** | Whether the application is an internal application. Internal applications should not be deleted. | | ||
**lastUsed** | [**OffsetDateTime**](OffsetDateTime.md) | The last time the application token was used. | [optional] | ||
**name** | **String** | The application name. This is how the application should be displayed to the user. | | ||
**token** | **String** | The application token. Can be used as `appToken`. See Authentication. | | ||
|
||
|
||
|
Oops, something went wrong.