diff --git a/arkindex/documents/api/elements.py b/arkindex/documents/api/elements.py index 753dc38542e91b195573de6ce3b98cbc089d55a2..f5d1bfd6e5c6cf19faee615d6932d8bd6a05c67c 100644 --- a/arkindex/documents/api/elements.py +++ b/arkindex/documents/api/elements.py @@ -1591,21 +1591,19 @@ class ElementsCreate(CreateAPIView): serializer_class = ElementCreateSerializer -@extend_schema( - parameters=[ - OpenApiParameter( - 'load_parents', - description="List metadata for both the specified element and all of its parents.", - type=bool, - default=False, - ) - ] -) @extend_schema_view( get=extend_schema( operation_id='ListElementMetaData', description='List all metadata linked to an element.', tags=['elements'], + parameters=[ + OpenApiParameter( + 'load_parents', + description="List metadata for both the specified element and all of its parents.", + type=bool, + default=False, + ) + ] ), post=extend_schema( operation_id='CreateMetaData',