Skip to content

Commit

Permalink
GH-225 Fix base path for Swagger UI & bump ReDoc version in config
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed Sep 24, 2024
1 parent 449f0f9 commit 2153741
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from ca83df to bffdf4

0 comments on commit 2153741

Please sign in to comment.