content
The content of the request body. The key is a media type or media type range and the value describes it
protected
RequestBody(Consumer<RequestBody> spec)
RequestBody
.
RequestBody(Map<String,MediaType> content,
String description,
String get$ref,
Boolean required,
Map<String,Object> vendorExtensions)
RequestBody
.builder()
protected boolean
content()
description(String description)
boolean
get$ref()
int
hashCode()
required()
toString()
vendorExtensions(Map<String,Object> vendorExtensions)
RequestBody
.spec
- the specification to processRequestBody
.
NOTE: This constructor is not considered stable and may change if the model is updated. Consider using RequestBody(Consumer)
instead.
content
- The content of the request body. The key is a media type or media type range and the value describes itdescription
- A brief description of the request body. This could contain examples of useget$ref
- get$refrequired
- Determines if the request body is required in the request. Defaults to falsevendorExtensions
- vendorExtensionsthis
.this
.this
.this
.this
.