Skip to content

Commit 14b246c

Browse files
committed
Fixes #17976: Remove devicetype_count from nested manufacturer to correct OpenAPI schema
1 parent f0507d0 commit 14b246c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/dcim/api/serializers_/manufacturers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ class Meta:
2020
'id', 'url', 'display_url', 'display', 'name', 'slug', 'description', 'tags', 'custom_fields',
2121
'created', 'last_updated', 'devicetype_count', 'inventoryitem_count', 'platform_count',
2222
]
23-
brief_fields = ('id', 'url', 'display', 'name', 'slug', 'description', 'devicetype_count')
23+
brief_fields = ('id', 'url', 'display', 'name', 'slug', 'description')

0 commit comments

Comments
 (0)