OperationBuilder
Builder for OperationDsl
Properties
If true, declares this operation to be deprecated (false by default).
A verbose explanation of the operation behavior. CommonMark syntax may be used for rich text representation.
A description of the additional external documentation for this operation. CommonMark syntax may be used for rich text representation.
A URL that points to additional external documentation for this operation. Must be a valid URL.
A string used to identify the operation, unique among all operations described in the API.
Parameters that are applicable for this operation.
The request body applicable for this operation.
The list of possible responses as they are returned from executing this operation.
A declaration of which security mechanisms can be used for this operation.
A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
Functions
Defines the request body for this operation.
Creates a cookie parameter, with the given string as the name of the cookie.
Creates a header parameter, with the given string as the name of the header.
Creates a path parameter, with the given string as the name of the corresponding path segment.
Creates a query parameter, with the given string as the name of the query parameter key.
Creates a response for the given response code (passed as an integer value).