| Modifier and Type | Method and Description |
|---|---|
| public Content[] | |
| public String | Returns: description of this requestBody instanceA brief description of the request body. |
| public Extension[] | Returns: array of extensionsList of extensions to be added to the |
| public String | |
| public String | |
| public boolean | Returns: whether or not this requestBody is requiredDetermines if the request body is required in the request. |
| content | back to summary |
|---|---|
| public Content[] content() The content of the request body. It is a REQUIRED property unless this is only a reference to a request body instance.
| |
| description | back to summary |
|---|---|
| public String description() A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.
| |
| extensions | back to summary |
|---|---|
| public Extension[] extensions() List of extensions to be added to the
| |
| name | back to summary |
|---|---|
| public String name() The unique name to identify this request body. Unless this annotation is used on the actual request body
parameter, it is required to match the name of that parameter so the appropriate association can be made. When
the request body is defined within
| |
| ref | back to summary |
|---|---|
| public String ref() Reference value to a RequestBody object.
This property provides a reference to an object defined elsewhere. This property may be used with
| |
| required | back to summary |
|---|---|
| public boolean required() Determines if the request body is required in the request.
Note that the default value of this property is
| |