Prefix is not a known prefix

Description

You are referencing a media type using an unknown prefix. All media types referenced should be proper MIME types.

Known prefixes for media types are:

  • application
  • audio
  • font
  • example
  • image
  • message
  • model
  • multipart
  • text
  • video

For more details, see RFC 2046.

Example

The following is an example of how this issue could look in your API definition. The media type prefix has been misspelt:

1responses:
2  "200":
3    description: Expected response to a valid request
4    content:
5      aplication/json:
6        schema:
7          $ref: "#/components/schemas/Pet"
8

Remediation

Make sure that you only use known media type prefixes.

1responses:
2  "200":
3    description: Expected response to a valid request
4    content:
5      application/json:
6        schema:
7          $ref: "#/components/schemas/Pet"
8

Copyright 42Crunch 2021