SchemaParameter

@Immutable
data class SchemaParameter(val name: String, val type: String, val required: Boolean = false, val description: String? = null, val location: String? = null)(source)

A parameter of an endpoint in SchemaDisplay; location is where it goes (path, query, header, body).

Constructors

Link copied to clipboard
constructor(name: String, type: String, required: Boolean = false, description: String? = null, location: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Where it goes: path, query, header, body.

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