Builder

class Builder(schemaInference: JsonSchemaInference, defaultContentTypes: List<ContentType>)(source)

Constructors

Link copied to clipboard
constructor(schemaInference: JsonSchemaInference, defaultContentTypes: List<ContentType>)

Properties

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

A list of parameters that are applicable for all the operations described under this path.

Link copied to clipboard

A list of servers configured for this path.

Link copied to clipboard

A short summary of the path item

Functions

Link copied to clipboard
Link copied to clipboard
fun delete(configure: Operation.Builder.() -> Unit)

Sets the DELETE operation for this path item with the Operation DSL.

Link copied to clipboard
fun get(configure: Operation.Builder.() -> Unit)

Sets the GET operation for this path item with the Operation DSL.

Link copied to clipboard
fun head(configure: Operation.Builder.() -> Unit)

Sets the HEAD operation for this path item with the Operation DSL.

Link copied to clipboard
fun options(configure: Operation.Builder.() -> Unit)

Sets the OPTIONS operation for this path item with the Operation DSL.

Link copied to clipboard
fun parameters(configure: Parameters.Builder.() -> Unit)

Adds parameters using the Parameters DSL.

Link copied to clipboard
fun patch(configure: Operation.Builder.() -> Unit)

Sets the PATCH operation for this path item with the Operation DSL.

Link copied to clipboard
fun post(configure: Operation.Builder.() -> Unit)

Sets the POST operation for this path item with the Operation DSL.

Link copied to clipboard
fun put(configure: Operation.Builder.() -> Unit)

Sets the PUT operation for this path item with the Operation DSL.

Link copied to clipboard
fun servers(configure: Servers.Builder.() -> Unit)

Adds server definitions specific to this operation using the Servers DSL.

Link copied to clipboard
fun trace(configure: Operation.Builder.() -> Unit)

Sets the TRACE operation for this path item with the Operation DSL.