stages/authenticator_duo: fix schema not declaring request body correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
d0a69557d4
commit
eed958b132
|
@ -102,6 +102,7 @@ class AuthenticatorDuoStageViewSet(UsedByMixin, ModelViewSet):
|
||||||
name="username", type=OpenApiTypes.STR, location=OpenApiParameter.QUERY
|
name="username", type=OpenApiTypes.STR, location=OpenApiParameter.QUERY
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
request=None,
|
||||||
responses={
|
responses={
|
||||||
204: OpenApiResponse(description="Enrollment successful"),
|
204: OpenApiResponse(description="Enrollment successful"),
|
||||||
400: OpenApiResponse(description="Device exists already"),
|
400: OpenApiResponse(description="Device exists already"),
|
||||||
|
|
|
@ -15108,12 +15108,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- stages
|
- stages
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/AuthenticatorDuoStageRequest'
|
|
||||||
required: true
|
|
||||||
security:
|
security:
|
||||||
- authentik: []
|
- authentik: []
|
||||||
responses:
|
responses:
|
||||||
|
|
Reference in New Issue