Path
data class Path(val description: String? = null, val operationId: String? = null, val tags: List<String> = emptyList(), val produces: List<String> = emptyList(), val consumes: List<String> = emptyList(), val parameters: List<Swagger.Parameter> = emptyList(), val responses: Map<String, Swagger.Path.Response>, val deprecated: Boolean = false)(source)
Constructors
Link copied to clipboard
constructor(description: String? = null, operationId: String? = null, tags: List<String> = emptyList(), produces: List<String> = emptyList(), consumes: List<String> = emptyList(), parameters: List<Swagger.Parameter> = emptyList(), responses: Map<String, Swagger.Path.Response>, deprecated: Boolean = false)
Types
Link copied to clipboard
data class Response(val description: String? = null, val schema: Swagger.Definition? = null, val headers: Map<String, Swagger.Header> = emptyMap(), val examples: JsonElement? = null)