Skip to content

Commit d429f08

Browse files
authored
AAP-51502 Make authenticator.configuration reqd (#819)
Fixes the openapi spec for ATF and pins drf-spectacular in dev to the release version for consistency
1 parent ac3c0de commit d429f08

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

ansible_base/authentication/serializers/authenticator.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ class Meta:
3535
"slug": {
3636
"allow_blank": True,
3737
"required": False,
38-
}
38+
},
39+
"configuration": {
40+
"required": True,
41+
},
3942
}
4043

4144
# TODO: Do we need/want to delve into dicts and search their keys?

requirements/requirements_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ djangorestframework==3.15.2
5050
# via
5151
# -r requirements/requirements.in
5252
# drf-spectacular
53-
drf-spectacular==0.28.0
53+
drf-spectacular==0.26.5
5454
# via -r requirements/requirements_api_documentation.in
5555
dynaconf==3.2.10
5656
# via -r requirements/requirements.in
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
drf-spectacular
1+
drf-spectacular==0.26.5

0 commit comments

Comments
 (0)