HttpResponse

data class HttpResponse(val statusCode: String, val description: String? = null, val headers: List<HttpHeader> = emptyList(), val content: List<HttpContent> = emptyList(), val contentDeclared: Boolean = content.isNotEmpty(), val component: HttpComponent<ApiResponse>? = null)

Constructors

Link copied to clipboard
constructor(statusCode: String, description: String? = null, headers: List<HttpHeader> = emptyList(), content: List<HttpContent> = emptyList(), contentDeclared: Boolean = content.isNotEmpty(), component: HttpComponent<ApiResponse>? = null)

Properties

Link copied to clipboard
val component: HttpComponent<ApiResponse>?

When set, the document references this component instead of describing the response inline.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard