Skip to content

Conversation

@jamietanna
Copy link
Member

@jamietanna jamietanna commented Dec 13, 2023

Although not technically a valid extension to JSON according to the
media type definition
, it's got a number of services using it for a v
or version parameter, so we should support this as a valid option.

This makes sure that we parse it as a valid media type, performing the
same checks as we did before by ignoring the parameters.


As an alternative to #1374

Although not _technically_ a valid extension to JSON according to [the
media type definition], it's got a number of services using it for a `v`
or `version` parameter, so we should support this as a valid option.

This makes sure that we parse it as a valid media type, performing the
same checks as we did before by ignoring the parameters.

[the media type definition]: https://www.iana.org/assignments/media-types/application/json
@jamietanna
Copy link
Member Author

Awaiting response from #1374 (comment)

@jamietanna jamietanna added the enhancement New feature or request label Dec 13, 2023
@jamietanna jamietanna merged commit 0c61fb3 into master Dec 13, 2023
@jamietanna jamietanna deleted the chore/json-media branch December 13, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants