diff --git a/docs/source/extensions/actions.rst b/docs/source/extensions/actions.rst index 5463ccfd..1a9fb2ac 100644 --- a/docs/source/extensions/actions.rst +++ b/docs/source/extensions/actions.rst @@ -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):