@@ -22,7 +22,7 @@ import org.commonmark.renderer.html.HtmlRenderer
2222/* *
2323 * Do not wrap the top level items in (unwanted) paragraphs.
2424 */
25- class SkipParentWrapperParagraphsRenderer (val context : HtmlNodeRendererContext )
25+ class SkipParentWrapperParagraphsRenderer (context : HtmlNodeRendererContext )
2626 : CoreHtmlNodeRenderer (context), NodeRenderer {
2727
2828 override fun getNodeTypes (): Set <Class <out Node >> {
@@ -67,11 +67,11 @@ open class JavaDocWriter(val identifier: Identifier) {
6767 comment + = " \n "
6868
6969 endpoint.parameters.forEach {
70- comment + = convert(it.description, " @param ${identifier.toCamelCase (it.name)} " )
70+ comment + = convert(it.description, " @param ${identifier.toIdentifier (it.name)} " )
7171 }
7272
7373 endpoint.requestBodies.forEach {
74- comment + = convert(it.description, " @param ${identifier.toCamelCase (it.name)} " )
74+ comment + = convert(it.description, " @param ${identifier.toIdentifier (it.name)} " )
7575 }
7676
7777 val response = convert(endpointResponse.description, " @return" )
@@ -101,7 +101,7 @@ open class JavaDocWriter(val identifier: Identifier) {
101101 }
102102
103103 dataType.forEach { p, dt ->
104- comment + = convert(dt.documentation!! .description, " @param ${identifier.toCamelCase (p)} " )
104+ comment + = convert(dt.documentation!! .description, " @param ${identifier.toIdentifier (p)} " )
105105 }
106106
107107 return wrap(comment)
0 commit comments