diff --git a/examples/javalin-gradle-kotlin/src/main/java/io/javalin/openapi/plugin/test/JavalinTest.java b/examples/javalin-gradle-kotlin/src/main/java/io/javalin/openapi/plugin/test/JavalinTest.java index 0ccbb69..7239442 100644 --- a/examples/javalin-gradle-kotlin/src/main/java/io/javalin/openapi/plugin/test/JavalinTest.java +++ b/examples/javalin-gradle-kotlin/src/main/java/io/javalin/openapi/plugin/test/JavalinTest.java @@ -92,7 +92,7 @@ public static void main(String[] args) { .description("Server description goes here") .url("http://localhost:{port}{basePath}/" + version + "/") .variable("port", "Server's port", "8080", "8080", "7070") - .variable("basePath", "Base path of the server", "", "", "v1") + .variable("basePath", "Base path of the server", "", "", "/v1") ) // Based on official example: https://swagger.io/docs/specification/authentication/oauth2/ .withSecurity(openApiSecurity -> diff --git a/javalin-plugins/javalin-redoc-plugin/src/main/kotlin/io/javalin/openapi/plugin/redoc/ReDocPlugin.kt b/javalin-plugins/javalin-redoc-plugin/src/main/kotlin/io/javalin/openapi/plugin/redoc/ReDocPlugin.kt index fa534aa..9dfd515 100644 --- a/javalin-plugins/javalin-redoc-plugin/src/main/kotlin/io/javalin/openapi/plugin/redoc/ReDocPlugin.kt +++ b/javalin-plugins/javalin-redoc-plugin/src/main/kotlin/io/javalin/openapi/plugin/redoc/ReDocPlugin.kt @@ -17,7 +17,7 @@ class ReDocConfiguration { /* Custom base path */ var basePath: String? = null /** ReDoc Bundle version **/ - var version = "2.0.0-rc.70" + var version = "2.1.4" /** ReDoc WebJar route */ var webJarPath = "/webjars/redoc" } diff --git a/wiki b/wiki index ca83dfc..bffdf4c 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit ca83dfc44f2877f922d04f2dace19d7d54dc7f0d +Subproject commit bffdf4c38ce5607055c1b9979762602b7b746a6f