OpenApiOperation
data class OpenApiOperation(val method: HttpMethod, val path: String, val requestBodyType: KType? = null, val responseBodyType: KType? = null, val responseContentTypes: List<String>? = null, val typeBound: Boolean = false, val summary: String = "", val description: String = "", val tags: List<String> = emptyList(), val responseEnvelope: Boolean = false, val successStatus: Int = 200, val errorStatuses: Set<Int> = emptySet())(source)
Constructors
Link copied to clipboard
constructor(method: HttpMethod, path: String, requestBodyType: KType? = null, responseBodyType: KType? = null, responseContentTypes: List<String>? = null, typeBound: Boolean = false, summary: String = "", description: String = "", tags: List<String> = emptyList(), responseEnvelope: Boolean = false, successStatus: Int = 200, errorStatuses: Set<Int> = emptySet())