Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
linziyue committed May 13, 2021
1 parent 4df1c34 commit 0b80515
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spectree/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ def generate_spec(self):
"description": DEFAULT_CODE_DESC[code],
"content": {
"application/json": {
"schema": {"$ref": f"#/components/schemas/{model.__module__}.{model.__name__}"}
"schema": {
"$ref": f"#/components/schemas/{model.__module__}.{model.__name__}"
}
}
},
}
Expand Down

0 comments on commit 0b80515

Please sign in to comment.