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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -113,6 +113,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

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

View File

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

View File

@@ -77,6 +77,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

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

View File

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

View File

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

View File

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

View File

@@ -74,6 +74,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

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -469,7 +469,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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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