Slide 19
Slide 19 text
Nested Class名が重複すると静かに壊れる
"AdminApiParam": {
"type": "object",
"properties": {
"info": {
"$ref": "#/definitions/Info"
}
}
},
"UserApiParam": {
"type": "object",
"properties": {
"info": {
"$ref": "#/definitions/Info"
}
}
}
class AdminApiParam(
val info: Info
) {
class Info(
val secretInfo: String,
val region: String
)
}
class UserApiParam(
val info: Info
) {
class Info(val region: String)
}
Kotlin spec file
ビルドが通ってgemも生成されるが、動かなくなる