From fd28bf60e075f125f84c37b56ced97660b337775 Mon Sep 17 00:00:00 2001 From: bkoschicek Date: Tue, 3 Oct 2023 13:47:34 +0200 Subject: [PATCH] fixed subunits endpoint in swagger --- openatlas/api/swagger.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/openatlas/api/swagger.json b/openatlas/api/swagger.json index 6432d174f..6b88f92f4 100644 --- a/openatlas/api/swagger.json +++ b/openatlas/api/swagger.json @@ -874,7 +874,7 @@ } } }, - "/subunits/": { + "/subunits/{entityId}": { "get": { "tags": [ "Special Endpoints" @@ -883,13 +883,10 @@ "operationId": "GetSubunits", "parameters": [ { - "$ref": "#/components/parameters/format" + "$ref": "#/components/parameters/entityId" }, { "$ref": "#/components/parameters/download" - }, - { - "$ref": "#/components/parameters/count" } ], "responses": {