flows: annotate flows executor 404 error

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-16 22:56:44 +02:00
parent e8ba159756
commit 262a9fa2a0
3 changed files with 10 additions and 9 deletions

View File

@ -127,6 +127,7 @@ class FlowExecutorView(APIView):
@swagger_auto_schema(
responses={
200: Challenge(),
404: "No Token found" # This error can be raised by the email stage
},
request_body=no_body,
manual_parameters=[

View File

@ -3664,15 +3664,15 @@ paths:
description: ''
schema:
$ref: '#/definitions/Challenge'
'403':
description: Authentication credentials were invalid, absent or insufficient.
schema:
$ref: '#/definitions/GenericError'
'404':
description: Object does not exist or caller has insufficient permissions
to access it.
schema:
$ref: '#/definitions/APIException'
'403':
description: Authentication credentials were invalid, absent or insufficient.
schema:
$ref: '#/definitions/GenericError'
tags:
- flows
post: