HttpRouteContract

data class HttpRouteContract(val routeId: String, val method: String, val path: String, val handlerKey: String, val summary: String = "", val description: String = "", val pathSummary: String = summary, val pathDescription: String = description, val accept: List<String> = listOf("application/json"), val parameters: List<HttpParameter> = emptyList(), val requestBody: HttpRequestBody? = null, val responses: List<HttpResponse> = emptyList(), val tags: List<HttpTag> = emptyList(), val handlerMetadata: HttpRouteHandlerMetadata = HttpRouteHandlerMetadata.None)

Constructors

Link copied to clipboard
constructor(routeId: String, method: String, path: String, handlerKey: String, summary: String = "", description: String = "", pathSummary: String = summary, pathDescription: String = description, accept: List<String> = listOf("application/json"), parameters: List<HttpParameter> = emptyList(), requestBody: HttpRequestBody? = null, responses: List<HttpResponse> = emptyList(), tags: List<HttpTag> = emptyList(), handlerMetadata: HttpRouteHandlerMetadata = HttpRouteHandlerMetadata.None)

Properties

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