Skip to content

Conversation

@reuvenharrison
Copy link
Collaborator

This PR fixes #686 by adding the ability to compare media-types and report response-media-type-changed when the new media type is contained in the original one.

For example:

  • application/atom+xml is contained in application/xml
  • application/problem+json is contained in application/json
  • image/svg+xml is contained in image/xml

Note:

@reuvenharrison reuvenharrison merged commit 40650c8 into main May 1, 2025
14 checks passed
@reuvenharrison reuvenharrison deleted the response-media-type-changed branch May 1, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ContentType: application/json -> application/problem+json is safe but is show as breaking

3 participants