From 23050ca036aa91238d5c9a0355782511ac420ff9 Mon Sep 17 00:00:00 2001 From: broadbot Date: Sun, 10 Nov 2024 12:01:13 +0000 Subject: [PATCH 1/2] Update swagger-ui to 5.18.2 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index be4d703..a4ba20b 100644 --- a/build.sbt +++ b/build.sbt @@ -19,7 +19,7 @@ resolvers ++= Seq( "Broad Artifactory Snapshots" at "https://broadinstitute.jfrog.io/broadinstitute/libs-snapshot/") libraryDependencies ++= Seq( - "org.webjars" % "swagger-ui" % "5.17.14", + "org.webjars" % "swagger-ui" % "5.18.2", "com.typesafe.scala-logging" %% "scala-logging" % "3.9.5", "com.typesafe.akka" %% "akka-http-spray-json" % "10.2.9", "com.google.protobuf" % "protobuf-java" % "4.29.0-RC1", From 7b71601505a51b019eb9caf3c41d100bf986b513 Mon Sep 17 00:00:00 2001 From: David An Date: Wed, 13 Nov 2024 11:05:10 -0500 Subject: [PATCH 2/2] also update path to swagger-ui resources --- src/main/scala/thurloe/service/ThurloeServiceActor.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/thurloe/service/ThurloeServiceActor.scala b/src/main/scala/thurloe/service/ThurloeServiceActor.scala index 449a514..b4acf0b 100644 --- a/src/main/scala/thurloe/service/ThurloeServiceActor.scala +++ b/src/main/scala/thurloe/service/ThurloeServiceActor.scala @@ -15,7 +15,7 @@ class ThurloeServiceActor(httpSamDao: SamDAO) extends FireCloudProtectedServices val samDao = httpSamDao override val dataAccess = ThurloeDatabaseConnector override val sendGridDAO = new HttpSendGridDAO(samDao) - protected val swaggerUiPath = "META-INF/resources/webjars/swagger-ui/5.17.14" + private val swaggerUiPath = "META-INF/resources/webjars/swagger-ui/5.18.2" def route: Route = addCSP { swaggerUiService ~ statusRoute ~ fireCloudProtectedRoutes