12151 remove choice field str mapping for OpenAPI
This commit is contained in:
parent
53abcc0f5c
commit
56d2a9aa11
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue