Skip to content

Commit

Permalink
swagger 5.17.2
Browse files Browse the repository at this point in the history
  • Loading branch information
darkxanter committed May 12, 2024
1 parent cb7a6e1 commit e9054f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dokka = "1.8.20"
nemerosaVersioning = "2.15.1"
nexusPublish = "1.1.0"
# when updating version here, don't forge to update version in OpenAPIGen.kt line 68
swaggerUi = "4.15.5"
swaggerUi = "5.17.2"
reflections = "0.10.2"
jackson = "2.17.1"
axion = "1.15.1"
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/papsign/ktor/openapigen/OpenAPIGen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class OpenAPIGen(

var swaggerUiPath = "swagger-ui"
var serveSwaggerUi = true
var swaggerUiVersion = "4.15.5"
var swaggerUiVersion = "5.17.2"

var scanPackagesForModules: Array<String> = arrayOf()

Expand Down
1 change: 1 addition & 0 deletions src/test/kotlin/ValueClassServer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ object ValueClassServer {
@JvmInline
value class Currency(val value: Long)

@Description("Our product")
data class Product(
val id: ProductId = ProductId(),
val name: String,
Expand Down

0 comments on commit e9054f4

Please sign in to comment.