ResponseDsl
DSL for https://spec.openapis.org/oas/v3.1.0#response-object.
Inheritors
Functions
Creates a content entry for this content type (the string receiver) and body (the builder configured by the lambda). See MediaTypeDsl for more information on what you can do in the lambda.
Add a header to this response with the given string as its name.
Creates a content entry for this content type and body. See MediaTypeDsl for more information on what you can do in the lambda.
Creates content entries for each of the provided content types with the same body. See MediaTypeDsl for more information on what you can do in the lambda.
Properties
A description of the response. CommonMark syntax may be used for rich text representation.
ContentType object for application/x-www-form-urlencoded
ContentType object for application/json
ContentType object for text/plain
ContentType object for application/xml