Skip to content

Commit 5c4b502

Browse files
p1-alexandrevaneyp1-ra
authored andcommitted
fix build_schema bug when model points to loaded ref
1 parent e0d1bd8 commit 5c4b502

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openapi_python_client/parser/responses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Response:
2121

2222
_SOURCE_BY_CONTENT_TYPE = {
2323
"application/json": "response.json()",
24+
"application/problem+json": "response.json()",
2425
"application/vnd.api+json": "response.json()",
2526
"application/octet-stream": "response.content",
2627
"text/html": "response.text",

0 commit comments

Comments
 (0)