fix openapi response in docs
This commit is contained in:
parent
19abfff061
commit
65f5a69bad
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ Like properties, we use a special view class to identify a view as an action: ``
|
||||||
|
|
||||||
# Our success response (200) returns an image (image/jpeg mimetype)
|
# Our success response (200) returns an image (image/jpeg mimetype)
|
||||||
responses = {
|
responses = {
|
||||||
200: {"content_type": "image/jpeg"}
|
200: {
|
||||||
|
"content": { "image/jpeg": {} },
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def post(self, args):
|
def post(self, args):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue