Skip to content

Commit 05d2f76

Browse files
committed
Fix #641 WebJars: Update Swagger UI from 2.1.8-M1 to 2.2.5
1 parent 1579c8e commit 05d2f76

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
Update metrics-scala from 3.5.4_a2.3 to 3.5.5_a2.3
1313
* `#640 <https://github.com/xitrum-framework/xitrum/issues/640>`_
1414
WebJars: Update jQuery 3.1.0 to 3.1.1
15+
* `#641 <https://github.com/xitrum-framework/xitrum/issues/641>`_
16+
WebJars: Update Swagger UI from 2.1.8-M1 to 2.2.5
1517

1618
3.28.0:
1719

@@ -49,7 +51,7 @@
4951
* `#622 <https://github.com/xitrum-framework/xitrum/issues/622>`_
5052
WebJars: Replace jquery-validation from org.webjars with the one from org.webjars.bower
5153
* `#623 <https://github.com/xitrum-framework/xitrum/issues/623>`_
52-
WebJars: Update Swagger from 2.1.4 to 2.1.8-M1
54+
WebJars: Update Swagger UI from 2.1.4 to 2.1.8-M1
5355

5456
3.26.2:
5557

@@ -132,7 +134,7 @@
132134
* `#585 <https://github.com/xitrum-framework/xitrum/issues/585>`_
133135
WebJars: Update d3js from 3.5.5-1 to 3.5.12
134136
* `#586 <https://github.com/xitrum-framework/xitrum/issues/586>`_
135-
WebJars: Update Swagger-UI from 2.1.1 to 2.1.4
137+
WebJars: Update Swagger UI from 2.1.1 to 2.1.4
136138

137139
3.25.0:
138140

@@ -159,7 +161,7 @@
159161
* `#558 <https://github.com/xitrum-framework/xitrum/issues/558>`_
160162
Update Swagger from 1.2 to 2.0
161163
* `#559 <https://github.com/xitrum-framework/xitrum/issues/559>`_
162-
Update Swagger-UI from 2.0.24 to 2.1.1
164+
Update Swagger UI from 2.0.24 to 2.1.1
163165
* `#557 <https://github.com/xitrum-framework/xitrum/issues/557>`_
164166
Update jQuery Validation from 1.13.1 to 1.14.0
165167
* `#560 <https://github.com/xitrum-framework/xitrum/issues/560>`_
@@ -442,7 +444,7 @@
442444
* `#381 <https://github.com/xitrum-framework/xitrum/issues/381>`_
443445
Update D3.js from 3.4.6 to 3.4.7
444446
* `#382 <https://github.com/xitrum-framework/xitrum/issues/382>`_
445-
Update Swagger-UI from 2.0.16 to 2.0.17
447+
Update Swagger UI from 2.0.16 to 2.0.17
446448

447449
3.11:
448450

@@ -461,7 +463,7 @@
461463
* `#369 <https://github.com/xitrum-framework/xitrum/issues/369>`_
462464
jQuery Validate from 1.11.1 to 1.12.0
463465
* `#370 <https://github.com/xitrum-framework/xitrum/issues/370>`_
464-
Update Swagger-UI from 2.0.14 to 2.0.16
466+
Update Swagger UI from 2.0.14 to 2.0.16
465467
* `#356 <https://github.com/xitrum-framework/xitrum/issues/356>`_
466468
Fix: Remove metrics route when metrics is disabled
467469
* `#360 <https://github.com/xitrum-framework/xitrum/issues/360>`_

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ libraryDependencies <+= scalaVersion { sv => "org.scala-lang" % "scalap" % sv }
9999
libraryDependencies += "org.webjars.bower" % "jquery" % "3.1.1"
100100
libraryDependencies += "org.webjars.bower" % "jquery-validation" % "1.15.1"
101101
libraryDependencies += "org.webjars.bower" % "sockjs-client" % "1.1.1"
102-
libraryDependencies += "org.webjars.bower" % "swagger-ui" % "2.1.8-M1"
102+
libraryDependencies += "org.webjars" % "swagger-ui" % "2.2.5"
103103
libraryDependencies += "org.webjars.bower" % "d3" % "3.5.17"
104104

105105
// For test --------------------------------------------------------------------

src/main/scala/xitrum/routing/SwaggerActions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SwaggerJson extends FutureAction {
2626
@GET("xitrum/swagger")
2727
class SwaggerUi extends FutureAction {
2828
def execute() {
29-
redirectTo(webJarsUrl("swagger-ui/2.1.8-M1/dist/index.html?url=" + url[SwaggerJson]))
29+
redirectTo(webJarsUrl("swagger-ui/2.2.5/index.html?url=" + url[SwaggerJson]))
3030
}
3131
}
3232

0 commit comments

Comments
 (0)