Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
10 months ago

Working with content typ API versioning startegy

Originally posted by user MariusSc78 to the Stoplight Community on 11/21/2023 at 21:30 ET.

Is there an option to specify custom content types, e.g. application/vnd.example.resource+json; version=3?

We are using content type versioning as API versioning strategy. When documenting content types in stoplight.io editor, I can only choose from a fixed list of content/media types. I am not able to enter custom values. As you can see in the docs: https://docs.stoplight.io/docs/platform/c2f20944173d7-work-with-media-types#set-media-types