fix openapi response in docs

This commit is contained in:
Richard 2021-07-13 22:49:06 +01:00
parent 19abfff061
commit 65f5a69bad

View file

@ -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)
responses = {
200: {"content_type": "image/jpeg"}
200: {
"content": { "image/jpeg": {} },
}
}
def post(self, args):