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 6de6622 commit 1a6b520Copy full SHA for 1a6b520
kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/KyuubiOpenApiResource.scala
@@ -112,9 +112,9 @@ class KyuubiOpenApiResource extends BaseOpenApiResource with ApiRequestContext {
112
.`type`(SecurityScheme.Type.HTTP)
113
.scheme("Bearer")
114
.bearerFormat("JWT")))
115
- .addSecurityItem(new SecurityRequirement()
+ .security(List(new SecurityRequirement()
116
.addList("BasicAuth")
117
- .addList("BearerAuth"))
+ .addList("BearerAuth")).asJava)
118
}
119
120
0 commit comments