add isOverridden, update java pojo with setter for parent prop (#15051)

This commit is contained in:
William Cheng
2023-03-29 10:57:49 +08:00
committed by GitHub
parent 36332331e4
commit 9fa032b365
850 changed files with 645 additions and 796 deletions

View File

@@ -75,7 +75,6 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -76,7 +76,6 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -75,7 +75,6 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -478,7 +478,6 @@ public class AdditionalPropertiesClass {
this.anytype3 = anytype3;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -75,7 +75,6 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -76,7 +76,6 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -75,7 +75,6 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -75,7 +75,6 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -119,7 +119,6 @@ public class Animal {
this.color = color;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -84,7 +84,6 @@ public class ArrayOfArrayOfNumberOnly {
this.arrayArrayNumber = arrayArrayNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -84,7 +84,6 @@ public class ArrayOfNumberOnly {
this.arrayNumber = arrayNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -168,7 +168,6 @@ public class ArrayTest {
this.arrayArrayOfModel = arrayArrayOfModel;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -128,6 +128,17 @@ public class BigCat extends Cat {
this.kind = kind;
}
@Override
public BigCat className(String className) {
this.setClassName(className);
return this;
}
@Override
public BigCat color(String color) {
this.setColor(color);
return this;
}
@Override
public boolean equals(Object o) {

View File

@@ -118,7 +118,6 @@ public class BigCatAllOf {
this.kind = kind;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -237,7 +237,6 @@ public class Capitalization {
this.ATT_NAME = ATT_NAME;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -86,6 +86,17 @@ public class Cat extends Animal {
this.declawed = declawed;
}
@Override
public Cat className(String className) {
this.setClassName(className);
return this;
}
@Override
public Cat color(String color) {
this.setColor(color);
return this;
}
@Override
public boolean equals(Object o) {

View File

@@ -73,7 +73,6 @@ public class CatAllOf {
this.declawed = declawed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -105,7 +105,6 @@ public class Category {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -72,7 +72,6 @@ public class ClassModel {
this.propertyClass = propertyClass;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -72,7 +72,6 @@ public class Client {
this.client = client;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -83,6 +83,17 @@ public class Dog extends Animal {
this.breed = breed;
}
@Override
public Dog className(String className) {
this.setClassName(className);
return this;
}
@Override
public Dog color(String color) {
this.setColor(color);
return this;
}
@Override
public boolean equals(Object o) {

View File

@@ -73,7 +73,6 @@ public class DogAllOf {
this.breed = breed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -194,7 +194,6 @@ public class EnumArrays {
this.arrayEnum = arrayEnum;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -368,7 +368,6 @@ public class EnumTest {
this.outerEnum = outerEnum;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -117,7 +117,6 @@ public class FileSchemaTestClass {
this.files = files;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -518,7 +518,6 @@ public class FormatTest {
this.bigDecimal = bigDecimal;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -82,7 +82,6 @@ public class HasOnlyReadOnly {
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -248,7 +248,6 @@ public class MapTest {
this.indirectMap = indirectMap;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -153,7 +153,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
this.map = map;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -106,7 +106,6 @@ public class Model200Response {
this.propertyClass = propertyClass;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -139,7 +139,6 @@ public class ModelApiResponse {
this.message = message;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -73,7 +73,6 @@ public class ModelFile {
this.sourceURI = sourceURI;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -73,7 +73,6 @@ public class ModelList {
this._123list = _123list;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -73,7 +73,6 @@ public class ModelReturn {
this._return = _return;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -147,7 +147,6 @@ public class Name {
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -73,7 +73,6 @@ public class NumberOnly {
this.justNumber = justNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -281,7 +281,6 @@ public class Order {
this.complete = complete;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -139,7 +139,6 @@ public class OuterComposite {
this.myBoolean = myBoolean;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -315,7 +315,6 @@ public class Pet {
this.status = status;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -93,7 +93,6 @@ public class ReadOnlyFirst {
this.baz = baz;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -73,7 +73,6 @@ public class SpecialModelName {
this.$specialPropertyName = $specialPropertyName;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -105,7 +105,6 @@ public class Tag {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -216,7 +216,6 @@ public class TypeHolderDefault {
this.arrayItem = arrayItem;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -249,7 +249,6 @@ public class TypeHolderExample {
this.arrayItem = arrayItem;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -303,7 +303,6 @@ public class User {
this.userStatus = userStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -1105,7 +1105,6 @@ public class XmlItem {
this.prefixNsWrappedArray = prefixNsWrappedArray;
}
@Override
public boolean equals(Object o) {
if (this == o) {