mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-13 16:03:43 +00:00
* fix(kotlin-spring): add missing constructor parentheses for hashmap models This commit fixes a bug in the kotlin-spring generator where models defined with additionalProperties would result in uncompilable code. The generated data class was missing the constructor invocation '()' when inheriting from a map type. This has been corrected to only add parentheses when the parent is a map. The existing samples have been regenerated to reflect this change. * Trigger CI
16 lines
480 B
Groovy
16 lines
480 B
Groovy
pluginManagement {
|
|
repositories {
|
|
maven { url = uri("https://repo.spring.io/snapshot") }
|
|
maven { url = uri("https://repo.spring.io/milestone") }
|
|
gradlePluginPortal()
|
|
}
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
if (requested.id.id == "org.springframework.boot") {
|
|
useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
rootProject.name = "openapi-spring"
|