Skip to content

Commit

Permalink
[KYUUBI #1556] Upgrade swagger-ui version from 4.1.0 to 4.1.3
Browse files Browse the repository at this point in the history
### _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 <[email protected]>
Signed-off-by: yanghua <[email protected]>
  • Loading branch information
rayliu authored and yanghua committed Dec 25, 2021
1 parent 21f10d7 commit 2af105a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/dependencyList
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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/*");
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 2af105a

Please sign in to comment.