[java][resttemplate] Fix model combining properties and additional properties (#19706)

This commit is contained in:
João Brilhante
2025-02-14 17:13:13 +01:00
committed by GitHub
parent dd67423c8c
commit a5c9c6d531
123 changed files with 1138 additions and 26 deletions

View File

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

View File

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

View File

@@ -129,6 +129,7 @@ public class DataQuery extends Query {
this.date = date;
}
@Override
public DataQuery id(@javax.annotation.Nullable Long id) {
this.setId(id);

View File

@@ -406,6 +406,7 @@ public class DefaultValue {
this.stringNullable = JsonNullable.<String>of(stringNullable);
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -126,6 +126,7 @@ public class NumberPropertiesOnly {
this._double = _double;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

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

View File

@@ -141,6 +141,7 @@ public class Query {
this.outcomes = outcomes;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

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

View File

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

View File

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

View File

@@ -75,6 +75,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
this.values = values;
}
@Override
public boolean equals(Object o) {
if (this == o) {