Fixed response descriptions for stream/RAM capture

This commit is contained in:
Richard 2021-07-06 15:24:43 +01:00
parent c81c4eb64d
commit 00531a93bf
2 changed files with 24 additions and 5 deletions

View file

@ -66,12 +66,15 @@ class CaptureAPI(ActionView):
class RAMCaptureAPI(ActionView):
"""
Take a non-persistant image capture.
"""
"""Take a non-persistent image capture."""
args = BasicCaptureArgs()
responses = {200: {"content_type": "image/jpeg"}}
responses = {
200: {
"content_type": "image/jpeg",
"description": "A JPEG image, representing the capture"
}
}
def post(self, args):
"""