Skip to content

Commit a9bbd93

Browse files
thomasphansenwing328
authored andcommitted
[BUG][PHP] Parameter property style not fully implemented (related to PR4042) (#4640)
1 parent f6b4e18 commit a9bbd93

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/CodegenParameter.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public CodegenParameter copy() {
174174
output.isListContainer = this.isListContainer;
175175
output.isMapContainer = this.isMapContainer;
176176
output.isExplode = this.isExplode;
177+
output.style = this.style;
177178

178179
return output;
179180
}
@@ -249,7 +250,8 @@ public boolean equals(Object o) {
249250
Objects.equals(minItems, that.minItems) &&
250251
Objects.equals(uniqueItems, that.uniqueItems) &&
251252
Objects.equals(multipleOf, that.multipleOf) &&
252-
Objects.equals(isExplode, that.isExplode);
253+
Objects.equals(isExplode, that.isExplode) &&
254+
Objects.equals(style, that.style);
253255
}
254256

255257
@Override
@@ -319,7 +321,8 @@ public int hashCode() {
319321
minItems,
320322
uniqueItems,
321323
multipleOf,
322-
isExplode);
324+
isExplode,
325+
style);
323326
}
324327

325328
@java.lang.Override
@@ -390,6 +393,7 @@ public java.lang.String toString() {
390393
", uniqueItems=" + uniqueItems +
391394
", multipleOf=" + multipleOf +
392395
", isExplode=" + isExplode +
396+
", style='" + style + '\'' +
393397
'}';
394398
}
395399
}

0 commit comments

Comments
 (0)