diff --git a/apis_ontology/api/views.py b/apis_ontology/api/views.py index 6c5df47..ef77632 100644 --- a/apis_ontology/api/views.py +++ b/apis_ontology/api/views.py @@ -283,10 +283,7 @@ def get_paginated_response_schema(self, schema): "type": "integer", }, "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PaginatedWorkPreviewList/properties/facets/properties/work_type", - }, + "$ref": "#/components/schemas/PaginatedWorkPreviewList/properties/facets/properties/work_type" }, }, },