We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea7802 commit c738a7cCopy full SHA for c738a7c
modules/swagger-models/src/main/java/io/swagger/models/properties/ComposedProperty.java
@@ -65,6 +65,11 @@ public void setAllOf(List<Property> allOf) {
65
this.allOf = allOf;
66
}
67
68
+ public ComposedProperty allOf(List<Property> allOf) {
69
+ this.allOf = allOf;
70
+ return this;
71
+ }
72
+
73
@Override
74
public ComposedProperty readOnly() {
75
this.setReadOnly(Boolean.TRUE);
@@ -86,6 +91,9 @@ public boolean equals(Object o) {
86
91
if (!(o instanceof ComposedProperty)) {
87
92
return false;
88
93
94
+ if (!super.equals(o)) {
95
+ return false;
96
89
97
90
98
return Objects.equals(allOf, ((ComposedProperty) o).allOf);
99
0 commit comments