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:

1/pets:
2  put:
3    summary: Updates a pet in the store with form data
4    operationId: updatePetWithForm
5    produces:
6      - aplication/json
7    parameters:
8      []
9      # ...
10

Remediation

Make sure that you only use known media type prefixes.

1/pets:
2  put:
3    summary: Updates a pet in the store with form data
4    operationId: updatePetWithForm
5    produces:
6      - application/json
7    parameters:
8      []
9      # ...
10

Copyright 42Crunch 2021