Skip to content

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

Merged
dbanty merged 2 commits into
openapi-generators:mainfrom
jrversteegh:add_vnd_api_plus_json_content_type
Jan 26, 2021
Merged

dbanty merged 2 commits into
openapi-generators:mainfrom
jrversteegh:add_vnd_api_plus_json_content_type

Conversation

@jrversteegh

Copy link
Copy Markdown
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

codecov Bot commented Jan 19, 2021 •

Copy link
Copy Markdown

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

@emann emann left a comment

Copy link
Copy Markdown
Contributor

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

emann commented Jan 22, 2021

Copy link
Copy Markdown
Contributor

@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