OperationDsl
interface OperationDsl
DSL for the operation object.
Note that the externalDocs
object is embedded in this DSL.
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).
Properties
Link copied to clipboard