Descriptions are duplicated for the same types in a row:
Model:
data class Foo(
@Description("desc_a")
val a: String,
@Description("desc_b")
val b: Int,
@Description("desc_c")
val c: Boolean,
@Description("desc_d")
val d: Boolean,
@Description("desc_e")
val e: Long
)
Configuration:
install(SwaggerUI) {
schemas {
generator = { type ->
type
.processReflection()
.generateSwaggerSchema()
.handleCoreAnnotations()
.compileReferencingRoot()
}
}
}
Hi, thanks for reporting this bug.
The issue should now be fixed with version 1.0.1 (and for ktor-swagger-ui soon aswell).
I you encounter any other issues just let me know :)
Descriptions are duplicated for the same types in a row:![image](https://github.com/SMILEY4/schema-kenerator/assets/39498015/d148dfde-995a-49e5-928e-99fddf865df0)
Model:
Configuration: