madorb
12/05/2017, 3:35 PMcomponentN()
that have the documentation of each @property definition of my class applied to them (on top of the generated getProperty()
methods). is this expected?
/**
* 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)
semoro
12/05/2017, 9:34 PMmadorb
12/05/2017, 9:43 PMmadorb
12/05/2017, 9:43 PM