github vapor/vapor 4.41.9
Support .jsonAPI media types for decoding content

latest releases: 4.106.3, 4.106.2, 4.106.1...
3 years ago
This patch was authored by @Joannis and released by @0xTim.

When communicating with API's following the JSON API format, these API's emit a content-type of vnd.api+json. This content type is always used with JSON formatted responses, although they follow a certain JSON format. I think it's therefore helpful to provide a default encoder/decoder for this media type.

I'm not sure if this would be a semver-patch or semver-minor as it's additive behaviour but doesn't touch public API.

Don't miss a new vapor release

NewReleases is sending notifications on new releases.