File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/writer/java Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -59,15 +59,14 @@ open class JavaDocWriter {
5959 }
6060
6161 if (endpoint.description != null ) {
62- comment + = convert(endpoint.description) + " \n "
62+ comment + = convert(endpoint.description)
6363 }
6464
6565 if (endpoint.parameters.isNotEmpty() || endpointResponse.description != null )
6666 comment + = " \n "
6767
6868 endpoint.parameters.forEach {
6969 comment + = convert(it.description, " @param ${toCamelCase (it.name)} " )
70- comment + = " \n "
7170 }
7271
7372 val response = convert(endpointResponse.description, " @return" )
@@ -148,8 +147,7 @@ open class JavaDocWriter {
148147 result + = " "
149148 }
150149
151- result + = renderer
152- .render(doc)
150+ result + = renderer.render(doc) + " \n "
153151
154152 return result
155153 }
You can’t perform that action at this time.
0 commit comments