forked from loafle/openapi-generator-original
[Java] fix deserialization of readonly properties (#10113)
* [Java] fix deserialization of readonly properties * [Java] fix deserialization of readonly properties * [Java] fix deserialization of readonly properties * [Java] fix deserialization of readonly properties
This commit is contained in:
@@ -50,6 +50,8 @@ public class ChildSchema extends Parent {
|
||||
public static final String JSON_PROPERTY_PROP1 = "prop1";
|
||||
private String prop1;
|
||||
|
||||
public ChildSchema() {
|
||||
}
|
||||
|
||||
public ChildSchema prop1(String prop1) {
|
||||
this.prop1 = prop1;
|
||||
|
||||
@@ -39,6 +39,8 @@ public class ChildSchemaAllOf {
|
||||
public static final String JSON_PROPERTY_PROP1 = "prop1";
|
||||
private String prop1;
|
||||
|
||||
public ChildSchemaAllOf() {
|
||||
}
|
||||
|
||||
public ChildSchemaAllOf prop1(String prop1) {
|
||||
this.prop1 = prop1;
|
||||
|
||||
@@ -51,6 +51,8 @@ public class MySchemaNameCharacters extends Parent {
|
||||
public static final String JSON_PROPERTY_PROP2 = "prop2";
|
||||
private String prop2;
|
||||
|
||||
public MySchemaNameCharacters() {
|
||||
}
|
||||
|
||||
public MySchemaNameCharacters prop2(String prop2) {
|
||||
this.prop2 = prop2;
|
||||
|
||||
@@ -39,6 +39,8 @@ public class MySchemaNameCharactersAllOf {
|
||||
public static final String JSON_PROPERTY_PROP2 = "prop2";
|
||||
private String prop2;
|
||||
|
||||
public MySchemaNameCharactersAllOf() {
|
||||
}
|
||||
|
||||
public MySchemaNameCharactersAllOf prop2(String prop2) {
|
||||
this.prop2 = prop2;
|
||||
|
||||
@@ -49,6 +49,8 @@ public class Parent {
|
||||
public static final String JSON_PROPERTY_OBJECT_TYPE = "objectType";
|
||||
private String objectType;
|
||||
|
||||
public Parent() {
|
||||
}
|
||||
|
||||
public Parent objectType(String objectType) {
|
||||
this.objectType = objectType;
|
||||
|
||||
Reference in New Issue
Block a user