You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling addSecuritryRequirement with a SecurityRequirement has no effect if this.security is null because the newly create list is not assigned to this.security.
Current implementation : public OpenAPI addSecurityRequirement(SecurityRequirement securityRequirement) { ModelUtil.add(securityRequirement, this.security, ArrayList<SecurityRequirement>::new); return this; }
Calling addSecuritryRequirement with a SecurityRequirement has no effect if this.security is null because the newly create list is not assigned to this.security.
Current implementation :
public OpenAPI addSecurityRequirement(SecurityRequirement securityRequirement) { ModelUtil.add(securityRequirement, this.security, ArrayList<SecurityRequirement>::new); return this; }
Correct implementation:
public OpenAPI addSecurityRequirement(SecurityRequirement securityRequirement) { this.security = ModelUtil.add(securityRequirement, this.security, ArrayList<SecurityRequirement>::new); return this; }
The text was updated successfully, but these errors were encountered: