[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

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

View File

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

View File

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

View File

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

View File

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

View File

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