Skip to content

Commit

Permalink
GH-205 Release 5.6.3-2
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed Nov 14, 2023
1 parent 230c9fe commit 282b8ad
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ allprojects {
apply(plugin = "maven-publish")

group = "io.javalin.community.openapi"
version = "5.6.3-1"
version = "5.6.3-2"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion examples/javalin-maven-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<javalin.version>5.6.3</javalin.version>
<javalin.openapi.version>5.6.3-1</javalin.openapi.version>
<javalin.openapi.version>5.6.3-2</javalin.openapi.version>
</properties>

<repositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ class SwaggerHandler(
return html
}

private val multiplePathOperatorsRegex = Regex("/+")

private fun String.removedDoubledPathOperators(): String =
replace(multiplePathOperatorsRegex, "/")
private fun String.removedDoubledPathOperators(): String {
val multiplePathOperatorsRegex = Regex("/+")
return replace(multiplePathOperatorsRegex, "/")
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ internal class SwaggerPluginTest {

@Test
fun `should not fail if second swagger plugin is registered`(){
val swaggerConfiguration = SwaggerConfiguration();
val otherConfiguration = ExampleSwaggerPlugin();
val swaggerConfiguration = SwaggerConfiguration()
val otherConfiguration = ExampleSwaggerPlugin()
Javalin.create{
it.plugins.register(SwaggerPlugin(swaggerConfiguration))
it.plugins.register(otherConfiguration)
Expand Down
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from 856cdd to 432da4

0 comments on commit 282b8ad

Please sign in to comment.