OperationBuilder
class OperationBuilder(context: OpenApiDslContext) : OperationDsl, Builder<Operation> , Buildable<Operation>
Builder for OperationDsl
Constructors
Functions
Link copied to clipboard
Defines the request body for this operation.
Link copied to clipboard
Creates a cookie parameter, with the given string as the name of the cookie.
Link copied to clipboard
Creates a header parameter, with the given string as the name of the header.
Link copied to clipboard
Creates a path parameter, with the given string as the name of the corresponding path segment.
Link copied to clipboard
Creates a query parameter, with the given string as the name of the query parameter key.
Link copied to clipboard
Creates a response for the given response code (passed as an integer value).