mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
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
Block a user