From ec0d0f8475ca120ba33863ef9938c4a4da49740a Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Sun, 18 Oct 2020 23:55:56 +0200 Subject: [PATCH] Fix openapi spec for rest-server - The `itemId` parameter was not declared for `item/{itemId}/reprocess` - `tagCategories*` must be declared required for `ItemSearch` structure --- modules/restapi/src/main/resources/docspell-openapi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/restapi/src/main/resources/docspell-openapi.yml b/modules/restapi/src/main/resources/docspell-openapi.yml index 903cc7f0..6e809aad 100644 --- a/modules/restapi/src/main/resources/docspell-openapi.yml +++ b/modules/restapi/src/main/resources/docspell-openapi.yml @@ -1855,7 +1855,7 @@ paths: security: - authTokenHeader: [] parameters: - - $ref: "#/components/parameters/id" + - $ref: "#/components/parameters/itemId" requestBody: content: application/json: @@ -3995,6 +3995,8 @@ components: required: - tagsInclude - tagsExclude + - tagCategoriesInclude + - tagCategoriesExclude - inbox - offset - limit