mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 04:47:07 +00:00
Merge remote-tracking branch 'origin/master' into 5.0.x
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<swagger-annotations-version>1.5.22</swagger-annotations-version>
|
||||
<spring-web-version>5.0.8.RELEASE</spring-web-version>
|
||||
<spring-web-version>5.0.16.RELEASE</spring-web-version>
|
||||
<jackson-version>2.10.1</jackson-version>
|
||||
<jackson-databind-version>2.10.1</jackson-databind-version>
|
||||
<jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version>
|
||||
|
||||
@@ -33,7 +33,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
Animal.JSON_PROPERTY_COLOR
|
||||
})
|
||||
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true)
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "className", visible = true)
|
||||
@JsonSubTypes({
|
||||
@JsonSubTypes.Type(value = Dog.class, name = "Dog"),
|
||||
@JsonSubTypes.Type(value = Cat.class, name = "Cat"),
|
||||
|
||||
Reference in New Issue
Block a user