diff --git a/netbox/core/api/schema.py b/netbox/core/api/schema.py index ca21a3e2f1b..4fe61c2abcb 100644 --- a/netbox/core/api/schema.py +++ b/netbox/core/api/schema.py @@ -135,7 +135,7 @@ def _get_serializer_name(self, serializer, direction, bypass_extensions=False) - def get_serializer_ref_name(self, serializer): # from drf-yasg.utils - """Get serializer's ref_name (or None for ModelSerializer if it is named 'NestedSerializer') + """Get serializer's ref_name :param serializer: Serializer instance :return: Serializer's ``ref_name`` or ``None`` for inline serializer :rtype: str or None