| Modifier and Type | Method and Description |
|---|---|
| public Encoding[] | Returns: the array of encodingsAn array of encoding corresponding to a map of property name and its encoding information in MediaType model. |
| public String | Returns: an example of this contentA free-form property to include an example of an instance for this content. |
| public ExampleObject[] | Returns: the list of examplesAn array of examples used to show the use of the associated schema. |
| public Extension[] | Returns: array of extensionsList of extensions to be added to the |
| public String | |
| public Schema | Returns: the schema of this media typeThe schema defining the type used for the request body. |
| encoding | back to summary |
|---|---|
| public Encoding[] encoding() An array of encoding corresponding to a map of property name and its encoding information in MediaType model. The key, being the property name, MUST exist in the schema as a property. The encoding object SHALL only apply to requestBody objects when the media type is multipart or application/x-www-form-urlencoded.
| |
| example | back to summary |
|---|---|
| public String example() A free-form property to include an example of an instance for this content.
| |
| examples | back to summary |
|---|---|
| public ExampleObject[] examples() An array of examples used to show the use of the associated schema.
| |
| extensions | back to summary |
|---|---|
| public Extension[] extensions() List of extensions to be added to the
| |
| mediaType | back to summary |
|---|---|
| public String mediaType() The media type that this object applies to.
| |
| schema | back to summary |
|---|---|
| public Schema schema() The schema defining the type used for the request body.
| |