i’m using dokka to generate javadoc - i’m seeing m...
# dokka
m
i’m using dokka to generate javadoc - i’m seeing methods like
componentN()
that have the documentation of each @property definition of my class applied to them (on top of the generated
getProperty()
methods). is this expected?
Copy code
/**
 * Represents an error that will be serialized back to the client in a standardized format.
 * This should be used for all error responses that require a body to be returned in the response.
 *
 * @property description User-facing description of the error
 * @property type Type of the error
 * @property code An optional unique identifier for the particular error
 * @constructor Create an Error instance
 */
data class Error(val description: String, val type: ErrorType, val code: String? = null)
s
Looks like this is expected, but outputting of componentN functions in javadoc isn’t cool, so issue here https://github.com/Kotlin/dokka/issues/201
m
ahhh, thanks for the update
my google-fu failed me trying to find that