From 50edc478d541966ee66e7d0d217295f21e2dc63f Mon Sep 17 00:00:00 2001 From: unclescooby Date: Tue, 3 Dec 2024 16:29:48 +0100 Subject: [PATCH 1/2] Update openapi.yml change override tag to curation to group this endpoint with the others --- openapi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yml b/openapi.yml index e81f789..6704d77 100644 --- a/openapi.yml +++ b/openapi.yml @@ -438,7 +438,7 @@ paths: get: tags: - documents - - override + - curation summary: Retrieve a single search override description: Retrieve the details of a search override, given its id. operationId: getSearchOverride From 0dfe16a56ee64b8364c83fa4cd2411b94233218d Mon Sep 17 00:00:00 2001 From: unclescooby Date: Tue, 3 Dec 2024 16:38:09 +0100 Subject: [PATCH 2/2] Update openapi.yml remove documents tags from overrides to not list them with documents endpoints, in line with the other features --- openapi.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openapi.yml b/openapi.yml index 6704d77..9742416 100644 --- a/openapi.yml +++ b/openapi.yml @@ -416,7 +416,6 @@ paths: /collections/{collectionName}/overrides: get: tags: - - documents - curation summary: List all collection overrides operationId: getSearchOverrides @@ -437,7 +436,6 @@ paths: /collections/{collectionName}/overrides/{overrideId}: get: tags: - - documents - curation summary: Retrieve a single search override description: Retrieve the details of a search override, given its id. @@ -464,7 +462,6 @@ paths: $ref: "#/components/schemas/SearchOverride" put: tags: - - documents - curation summary: Create or update an override to promote certain documents over others description: @@ -506,7 +503,6 @@ paths: $ref: "#/components/schemas/ApiResponse" delete: tags: - - documents - curation summary: Delete an override associated with a collection operationId: deleteSearchOverride