Skip to content

Commit a022cfa

Browse files
committed
Enable inheritance for kotlin (and consequently kotlin-coroutines) generator
1 parent 617a992 commit a022cfa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gradle-plugin/plugin/src/main/java/com/yelp/codegen/KotlinGenerator.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ open class KotlinGenerator : SharedCodegen() {
6161
outputFolder = "generated-code${File.separator}android-kotlin-client"
6262
modelTemplateFiles["model.mustache"] = ".kt"
6363
apiTemplateFiles["retrofit2/api.mustache"] = ".kt"
64+
65+
supportsInheritance = true
6466
}
6567

6668
/*

0 commit comments

Comments
 (0)