Skip to content

Add "application/vnd.api+json" media type. #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jrversteegh
Copy link
Contributor

JSON:API has a media type of application/vnd.api+json, which is just json, so it can be parsed as such. This pull request adds it to the list of parsable media types.

@codecov
Copy link

codecov bot commented Jan 19, 2021

Codecov Report

Merging #307 (aa15a6c) into main (aa6972c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #307   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           47        47           
  Lines         1385      1385           
=========================================
  Hits          1385      1385           
Impacted Files Coverage Δ
openapi_python_client/parser/responses.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa6972c...aa15a6c. Read the comment docs.

emann
emann previously approved these changes Jan 20, 2021
Copy link
Collaborator

@emann emann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for a quick and useful PR 😄

@emann
Copy link
Collaborator

emann commented Jan 22, 2021

@jrversteegh Would you mind pulling the latest changes in main and adding an entry to the changelog? Once thats all set I'll merge - thanks!

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.

3 participants