PathBuilder

class PathBuilder(context: OpenApiDslContext) : PathDsl, Builder<PathItem>

Builder for PathDsl

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open override fun build(): PathItem

Build the object.

Link copied to clipboard
open override fun delete(block: OperationDsl.() -> Unit)

A definition of a DELETE operation on this path.

Link copied to clipboard
open override fun get(block: OperationDsl.() -> Unit)

A definition of a GET operation on this path.

Link copied to clipboard
open override fun head(block: OperationDsl.() -> Unit)

A definition of a HEAD operation on this path.

Link copied to clipboard
open override fun options(block: OperationDsl.() -> Unit)

A definition of an OPTIONS operation on this path.

Link copied to clipboard
open override fun patch(block: OperationDsl.() -> Unit)

A definition of a PATCH operation on this path.

Link copied to clipboard
open override fun post(block: OperationDsl.() -> Unit)

A definition of a POST operation on this path.

Link copied to clipboard
open override fun put(block: OperationDsl.() -> Unit)

A definition of a PUT operation on this path.