MIME type has an improper value
Issue ID: warning-content-type-badformat
Description
The value you have defined for the MIME type is not a proper value. For example, it might contain characters that are not allowed, or it might not follow the format prefix/subtype[+suffix][;parameters]
.
For more details, see RFC 6838.
Example
The following is an example of how this issue could look in your API definition. The prefix, subtype, and suffix are separated by spaces:
{
"responses": {
"200": {
"description": "Cute cat picture",
"content": {
"image svg xml": {
"schema": {
"$ref": "#/definitions/Kitty"
}
}
}
}
// ...
}
}
Remediation
Make sure that all MIME type definitions follow the format prefix/subtype[+suffix][;parameters]
and do not contain restricted characters.
{
"responses": {
"200": {
"description": "Cute cat picture",
"content": {
"image/svg+xml": {
"schema": {
"$ref": "#/definitions/Kitty"
}
}
}
}
// ...
}
}