|
24 | 24 |
|
25 | 25 | public class CodegenOperation { |
26 | 26 | public final List<CodegenProperty> responseHeaders = new ArrayList<CodegenProperty>(); |
27 | | - public boolean hasAuthMethods, hasConsumes, hasProduces, hasOptionalParams, |
| 27 | + public boolean hasAuthMethods, hasConsumes, hasProduces, hasOptionalParams, hasRequiredParams, |
28 | 28 | returnTypeIsPrimitive, returnSimpleType, subresourceOperation, isMap, |
29 | 29 | isArray, isMultipart, isVoid = false, |
30 | 30 | hasVersionHeaders = false, hasVersionQueryParams = false, |
@@ -372,6 +372,7 @@ public String toString() { |
372 | 372 | sb.append(", hasConsumes=").append(hasConsumes); |
373 | 373 | sb.append(", hasProduces=").append(hasProduces); |
374 | 374 | sb.append(", hasOptionalParams=").append(hasOptionalParams); |
| 375 | + sb.append(", hasRequiredParams=").append(hasRequiredParams); |
375 | 376 | sb.append(", returnTypeIsPrimitive=").append(returnTypeIsPrimitive); |
376 | 377 | sb.append(", returnSimpleType=").append(returnSimpleType); |
377 | 378 | sb.append(", subresourceOperation=").append(subresourceOperation); |
@@ -453,6 +454,7 @@ public boolean equals(Object o) { |
453 | 454 | hasConsumes == that.hasConsumes && |
454 | 455 | hasProduces == that.hasProduces && |
455 | 456 | hasOptionalParams == that.hasOptionalParams && |
| 457 | + hasRequiredParams == that.hasRequiredParams && |
456 | 458 | returnTypeIsPrimitive == that.returnTypeIsPrimitive && |
457 | 459 | returnSimpleType == that.returnSimpleType && |
458 | 460 | subresourceOperation == that.subresourceOperation && |
@@ -528,7 +530,7 @@ public boolean equals(Object o) { |
528 | 530 | public int hashCode() { |
529 | 531 |
|
530 | 532 | return Objects.hash(responseHeaders, hasAuthMethods, hasConsumes, hasProduces, hasOptionalParams, |
531 | | - returnTypeIsPrimitive, returnSimpleType, subresourceOperation, isMap, |
| 533 | + hasRequiredParams, returnTypeIsPrimitive, returnSimpleType, subresourceOperation, isMap, |
532 | 534 | isArray, isMultipart, isVoid, isResponseBinary, isResponseFile, isResponseOptional, hasReference, |
533 | 535 | hasDefaultResponse, hasOnlyDefaultResponse, isRestfulIndex, isRestfulShow, isRestfulCreate, isRestfulUpdate, isRestfulDestroy, |
534 | 536 | isRestful, isDeprecated, isCallbackRequest, uniqueItems, path, operationId, returnType, httpMethod, |
|
0 commit comments