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.
2 parents 6862cdd + 9dcfe40 commit e8f6df9Copy full SHA for e8f6df9
modules/swagger-codegen/src/main/java/io/swagger/codegen/CodegenOperation.java
@@ -71,6 +71,10 @@ public boolean getHasQueryParams() {
71
return true;
72
}
73
74
+ if (authMethods == null || authMethods.isEmpty()) {
75
+ return false;
76
+ }
77
+
78
// Check if one of the authMethods is a query param
79
for (CodegenSecurity sec : authMethods) {
80
if (sec.isKeyInQuery) {
0 commit comments