From 61217b7ff04aa58e2d1fb6d57a72ac92d5124a4b Mon Sep 17 00:00:00 2001 From: Arthur Date: Wed, 15 Mar 2023 10:49:15 -0700 Subject: [PATCH] 9608 update comments --- netbox/core/api/schema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/core/api/schema.py b/netbox/core/api/schema.py index 123afd613..f1aec514a 100644 --- a/netbox/core/api/schema.py +++ b/netbox/core/api/schema.py @@ -47,7 +47,7 @@ class ChoiceFieldFix(OpenApiSerializerFieldExtension): class NetBoxAutoSchema(AutoSchema): """ - Overrides to spectaculars AutoSchema to fix following issues: + Overrides to drf_spectacular.openapi.AutoSchema to fix following issues: 1. bulk serializers cause operation_id conflicts with non-bulk ones 2. bulk operations should specify a list 3. bulk operations don't have filter params @@ -129,7 +129,7 @@ class NetBoxAutoSchema(AutoSchema): return super()._get_request_body(direction) # rest from drf_spectacular.openapi.AutoSchema._get_request_body - # but remove teh unsafe method check + # but remove the unsafe method check request_serializer = self.get_request_serializer()