flows: annotate flows executor 404 error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c34fcc73dc
commit
b136d3bc69
|
@ -127,6 +127,7 @@ class FlowExecutorView(APIView):
|
||||||
@swagger_auto_schema(
|
@swagger_auto_schema(
|
||||||
responses={
|
responses={
|
||||||
200: Challenge(),
|
200: Challenge(),
|
||||||
|
404: "No Token found" # This error can be raised by the email stage
|
||||||
},
|
},
|
||||||
request_body=no_body,
|
request_body=no_body,
|
||||||
manual_parameters=[
|
manual_parameters=[
|
||||||
|
|
|
@ -3664,15 +3664,15 @@ paths:
|
||||||
description: ''
|
description: ''
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/Challenge'
|
$ref: '#/definitions/Challenge'
|
||||||
'403':
|
|
||||||
description: Authentication credentials were invalid, absent or insufficient.
|
|
||||||
schema:
|
|
||||||
$ref: '#/definitions/GenericError'
|
|
||||||
'404':
|
'404':
|
||||||
description: Object does not exist or caller has insufficient permissions
|
description: Object does not exist or caller has insufficient permissions
|
||||||
to access it.
|
to access it.
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/APIException'
|
$ref: '#/definitions/APIException'
|
||||||
|
'403':
|
||||||
|
description: Authentication credentials were invalid, absent or insufficient.
|
||||||
|
schema:
|
||||||
|
$ref: '#/definitions/GenericError'
|
||||||
tags:
|
tags:
|
||||||
- flows
|
- flows
|
||||||
post:
|
post:
|
||||||
|
|
|
@ -162,11 +162,11 @@ export class FlowExecutor extends LitElement implements StageHost {
|
||||||
</div>
|
</div>
|
||||||
<footer class="pf-c-login__main-footer">
|
<footer class="pf-c-login__main-footer">
|
||||||
<ul class="pf-c-login__main-footer-links">
|
<ul class="pf-c-login__main-footer-links">
|
||||||
<li class="pf-c-login__main-footer-links-item">
|
<li class="pf-c-login__main-footer-links-item">
|
||||||
<a class="pf-c-button pf-m-primary pf-m-block" href="/">
|
<a class="pf-c-button pf-m-primary pf-m-block" href="/">
|
||||||
${t`Return`}
|
${t`Return`}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>`
|
</footer>`
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue