Skip to content

Commit 2af105a

Browse files
rayliuyanghua
authored andcommitted
[KYUUBI #1556] Upgrade swagger-ui version from 4.1.0 to 4.1.3
### _Why are the changes needed?_ Close #1612 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1630 from ldzhjn/1612. Closes #1556 71fe05b [rayliu] Upgrade swagger-ui version from 4.1.0 to 4.1.3 Authored-by: rayliu <rayliu@cisco.com> Signed-off-by: yanghua <yanghua1127@gmail.com>
1 parent 21f10d7 commit 2af105a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dev/dependencyList

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ swagger-jaxrs2/2.1.11//swagger-jaxrs2-2.1.11.jar
9999
swagger-models-jakarta/2.1.11//swagger-models-jakarta-2.1.11.jar
100100
swagger-models/2.1.11//swagger-models-2.1.11.jar
101101
swagger-scala-module_2.12/2.5.2//swagger-scala-module_2.12-2.5.2.jar
102-
swagger-ui/4.1.0//swagger-ui-4.1.0.jar
102+
swagger-ui/4.1.3//swagger-ui-4.1.3.jar
103103
zookeeper/3.4.14//zookeeper-3.4.14.jar

kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/api.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private[server] object ApiUtils {
6868
swaggerUI.setInitParameter(
6969
"resourceBase",
7070
getClass.getClassLoader()
71-
.getResource("META-INF/resources/webjars/swagger-ui/4.1.0/")
71+
.getResource("META-INF/resources/webjars/swagger-ui/4.1.3/")
7272
.toExternalForm)
7373
swaggerUI.setInitParameter("pathInfoOnly", "true")
7474
handler.addServlet(swaggerUI, "/swagger-ui-redirected/*");

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<spark.archive.download.skip>false</spark.archive.download.skip>
136136
<swagger.version>2.1.11</swagger.version>
137137
<swagger.scala.module.version>2.5.2</swagger.scala.module.version>
138-
<swagger-ui.version>4.1.0</swagger-ui.version>
138+
<swagger-ui.version>4.1.3</swagger-ui.version>
139139
<trino.client.version>363</trino.client.version>
140140
<zookeeper.version>3.4.14</zookeeper.version>
141141

0 commit comments

Comments
 (0)