We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78fd8f2 commit eb17414Copy full SHA for eb17414
src/main/kotlin/de/rakhman/webextensions/Generator.kt
@@ -134,7 +134,16 @@ class Generator(val dir: File) {
134
135
return PropertySpec
136
.builder(event.name, type)
137
- .apply { event.description?.let { addKdoc(it.cleanupDescription()) } }
+ .apply { event.description?.let { addKdoc(buildString {
138
+ append(it.cleanupDescription())
139
+ event.parameters?.forEach {
140
+ append('\n')
141
+ append("@param ")
142
+ append(it.name)
143
+ append(' ')
144
+ append(it.description)
145
+ }
146
+ }) } }
147
.build()
148
}
149
0 commit comments