From 403505cebdb9a52bc0ffc411d1b650d546fbc090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Schl=C3=B6gl?= Date: Mon, 9 Dec 2024 12:32:31 +0100 Subject: [PATCH] fix: error in def of work_type facet --- apis_ontology/api/views.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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" }, }, },