forked from loafle/openapi-generator-original
update swagger annoatation version to 1.5.17 (#7500)
This commit is contained in:
@@ -1 +1 @@
|
||||
2.3.1-SNAPSHOT
|
||||
2.4.0-SNAPSHOT
|
||||
@@ -96,7 +96,7 @@ if(hasProperty('target') && target == 'android') {
|
||||
ext {
|
||||
oltu_version = "1.0.1"
|
||||
retrofit_version = "2.3.0"
|
||||
swagger_annotations_version = "1.5.15"
|
||||
swagger_annotations_version = "1.5.17"
|
||||
junit_version = "4.12"
|
||||
rx_java_version = "2.1.1"
|
||||
threetenbp_version = "1.3.5"
|
||||
|
||||
@@ -14,7 +14,7 @@ lazy val root = (project in file(".")).
|
||||
"com.squareup.retrofit2" % "converter-gson" % "2.3.0" % "compile",
|
||||
"com.squareup.retrofit2" % "adapter-rxjava2" % "2.3.0" % "compile",
|
||||
"io.reactivex.rxjava2" % "rxjava" % "2.1.1" % "compile",
|
||||
"io.swagger" % "swagger-annotations" % "1.5.15" % "compile",
|
||||
"io.swagger" % "swagger-annotations" % "1.5.17" % "compile",
|
||||
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1" % "compile",
|
||||
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
|
||||
"io.gsonfire" % "gson-fire" % "1.8.0" % "compile",
|
||||
|
||||
@@ -208,7 +208,6 @@
|
||||
<artifactId>converter-scalars</artifactId>
|
||||
<version>${retrofit-version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.oltu.oauth2</groupId>
|
||||
<artifactId>org.apache.oltu.oauth2.client</artifactId>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package io.swagger.client;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
|
||||
public final class BuildConfig {
|
||||
public final static boolean DEBUG = Boolean.parseBoolean(null);
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package io.swagger.client;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
|
||||
public final class Manifest {
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package io.swagger.client;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
|
||||
public final class R {
|
||||
}
|
||||
@@ -36,6 +36,9 @@ public class Animal {
|
||||
@SerializedName("color")
|
||||
private String color = "red";
|
||||
|
||||
public Animal() {
|
||||
this.className = this.getClass().getSimpleName();
|
||||
}
|
||||
public Animal className(String className) {
|
||||
this.className = className;
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user