Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 02ebc13

Browse files
committedJan 19, 2021
Add "application/vnd.api+json" content type.
1 parent 8331aad commit 02ebc13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎openapi_python_client/parser/responses.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class Response:
2020

2121
_SOURCE_BY_CONTENT_TYPE = {
2222
"application/json": "response.json()",
23+
"application/vnd.api+json": "response.json()",
2324
"application/octet-stream": "response.content",
2425
"text/html": "response.text",
2526
}

0 commit comments

Comments
 (0)
Please sign in to comment.