12151 remove choice field str mapping for OpenAPI

This commit is contained in:
Arthur 2023-04-03 11:39:38 -07:00 committed by Jeremy Stretch
parent 53abcc0f5c
commit 56d2a9aa11

View File

@ -14,7 +14,6 @@ __all__ = (
)
@extend_schema_field(OpenApiTypes.STR)
class ChoiceField(serializers.Field):
"""
Represent a ChoiceField as {'value': <DB value>, 'label': <string>}. Accepts a single value on write.