File tree 2 files changed +2
-0
lines changed
openapi_python_client/parser
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
- ` none ` will not create a project folder at all, only the inner package folder (which won't be inner anymore)
17
17
- Attempt to detect and alert users if they are using an unsupported version of OpenAPI (#281 ).
18
18
- Fixes ` Enum ` deserialization when the value is ` UNSET ` .
19
+ - Add handling of application/vnd.api+json media type.
19
20
20
21
### Changes
21
22
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ class Response:
20
20
21
21
_SOURCE_BY_CONTENT_TYPE = {
22
22
"application/json" : "response.json()" ,
23
+ "application/vnd.api+json" : "response.json()" ,
23
24
"application/octet-stream" : "response.content" ,
24
25
"text/html" : "response.text" ,
25
26
}
You can’t perform that action at this time.
0 commit comments