Fixes #21658: Fix OpenAPI schema for available-prefixes endpoint request body (#21956)

This commit is contained in:
Ibtissam 2026-04-20 14:46:41 +01:00 committed by GitHub
parent 26c6c59797
commit a372f78a9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ class AvailablePrefixesView(AvailableObjectsView):
@extend_schema(
methods=["post"],
responses={201: serializers.PrefixSerializer(many=True)},
request=serializers.PrefixSerializer(many=True),
request=serializers.PrefixLengthSerializer(many=True),
)
def post(self, request, pk):
return super().post(request, pk)