[KYUUBI #1556] Upgrade swagger-ui version from 4.1.0 to 4.1.3

### _Why are the changes needed?_
Close https://github.com/apache/incubator-kyuubi/issues/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

71fe05bc [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>
This commit is contained in:
rayliu 2021-12-25 20:50:56 +08:00 committed by yanghua
parent 21f10d752d
commit 2af105a417
3 changed files with 3 additions and 3 deletions

View File

@ -99,5 +99,5 @@ swagger-jaxrs2/2.1.11//swagger-jaxrs2-2.1.11.jar
swagger-models-jakarta/2.1.11//swagger-models-jakarta-2.1.11.jar
swagger-models/2.1.11//swagger-models-2.1.11.jar
swagger-scala-module_2.12/2.5.2//swagger-scala-module_2.12-2.5.2.jar
swagger-ui/4.1.0//swagger-ui-4.1.0.jar
swagger-ui/4.1.3//swagger-ui-4.1.3.jar
zookeeper/3.4.14//zookeeper-3.4.14.jar

View File

@ -68,7 +68,7 @@ private[server] object ApiUtils {
swaggerUI.setInitParameter(
"resourceBase",
getClass.getClassLoader()
.getResource("META-INF/resources/webjars/swagger-ui/4.1.0/")
.getResource("META-INF/resources/webjars/swagger-ui/4.1.3/")
.toExternalForm)
swaggerUI.setInitParameter("pathInfoOnly", "true")
handler.addServlet(swaggerUI, "/swagger-ui-redirected/*");

View File

@ -135,7 +135,7 @@
<spark.archive.download.skip>false</spark.archive.download.skip>
<swagger.version>2.1.11</swagger.version>
<swagger.scala.module.version>2.5.2</swagger.scala.module.version>
<swagger-ui.version>4.1.0</swagger-ui.version>
<swagger-ui.version>4.1.3</swagger-ui.version>
<trino.client.version>363</trino.client.version>
<zookeeper.version>3.4.14</zookeeper.version>