Skip to content

Commit 9cfcdd3

Browse files
committed
updated spring samples
1 parent b0e2f7e commit 9cfcdd3

File tree

86 files changed

+266
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+266
-66
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.30-SNAPSHOT
1+
3.0.31-SNAPSHOT

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/DefaultApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.30-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.31-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/PetApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.30-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.31-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/StoreApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.30-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.31-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/UserApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.30-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.31-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
package io.swagger.model;
22

33

4+
import com.fasterxml.jackson.annotation.JsonSubTypes;
5+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
46
/**
57
* OneOfAllPetsResponseItems
68
*/
9+
@JsonTypeInfo(
10+
use = JsonTypeInfo.Id.NAME,
11+
include = JsonTypeInfo.As.PROPERTY,
12+
property = "type")
13+
@JsonSubTypes({
14+
@JsonSubTypes.Type(value = Dog.class, name = "Dog"),
15+
@JsonSubTypes.Type(value = Cat.class, name = "Cat")
16+
})
717
public interface OneOfAllPetsResponseItems {
818

919
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
package io.swagger.model;
22

33

4+
import com.fasterxml.jackson.annotation.JsonSubTypes;
5+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
46
/**
57
* OneOfSinglePetResponsePet
68
*/
9+
@JsonTypeInfo(
10+
use = JsonTypeInfo.Id.NAME,
11+
include = JsonTypeInfo.As.PROPERTY,
12+
property = "type")
13+
@JsonSubTypes({
14+
@JsonSubTypes.Type(value = Dog.class, name = "Dog"),
15+
@JsonSubTypes.Type(value = Cat.class, name = "Cat")
16+
})
717
public interface OneOfSinglePetResponsePet {
818

919
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.30-SNAPSHOT
1+
3.0.31-SNAPSHOT

samples/client/petstore/spring-cloud/src/main/java/io/swagger/api/DefaultApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.30-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.31-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud/src/main/java/io/swagger/api/PetApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.30-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.31-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

0 commit comments

Comments
 (0)