From 7017c946ff3ea71274c07cec45d4aacfcaefd1aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 07:05:57 +0000 Subject: [PATCH 1/2] Bump org.webjars:swagger-ui from 5.9.0 to 5.10.3 Bumps [org.webjars:swagger-ui](https://github.com/webjars/swagger-ui) from 5.9.0 to 5.10.3. - [Commits](https://github.com/webjars/swagger-ui/compare/swagger-ui-5.9.0...swagger-ui-5.10.3) --- updated-dependencies: - dependency-name: org.webjars:swagger-ui dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3efbf31f..bf9ad194 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,7 +15,7 @@ val mockkVersion = "1.13.8" val navCommonVersion = "2.2023.01.10_13.49-81ddc732df3a" val ojdbc8Version = "19.3.0.0" val postgresVersion = "42.7.1" -val swaggerVersion = "5.9.0" // Husk å endre versjonen også i SwaggerUi.kt +val swaggerVersion = "5.10.3" // Husk å endre versjonen også i SwaggerUi.kt val tjenestespecVersion = "2618.0448179" val tokenValidationVersion = "3.2.0" val vaultJdbcVersion = "1.3.10" From 4bad8fa2caaf54a3e9828765abc9bf79b9086282 Mon Sep 17 00:00:00 2001 From: Igor Weber <85676385+igorweber@users.noreply.github.com> Date: Mon, 11 Dec 2023 13:04:32 +0100 Subject: [PATCH 2/2] Updated SwaggerUI --- .../nav/meldeplikt/meldekortservice/utils/swagger/SwaggerUi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/meldeplikt/meldekortservice/utils/swagger/SwaggerUi.kt b/src/main/kotlin/no/nav/meldeplikt/meldekortservice/utils/swagger/SwaggerUi.kt index 33a857a4..9218e0c1 100644 --- a/src/main/kotlin/no/nav/meldeplikt/meldekortservice/utils/swagger/SwaggerUi.kt +++ b/src/main/kotlin/no/nav/meldeplikt/meldekortservice/utils/swagger/SwaggerUi.kt @@ -18,7 +18,7 @@ class SwaggerUi { in notFound -> return null -> return else -> { - val resource = this::class.java.getResource("/META-INF/resources/webjars/swagger-ui/5.9.0/$filename") + val resource = this::class.java.getResource("/META-INF/resources/webjars/swagger-ui/5.10.3/$filename") if (resource == null) { notFound.add(filename) return