From f338f7b102e538889e4f16fac407f4d5f17fdf69 Mon Sep 17 00:00:00 2001 From: xuatz Date: Sun, 18 May 2025 01:51:46 +0900 Subject: fix(api): make PUT bookmark to a list idempotent (#1427) * fix(api): make duplicate PUT /lists/:id/bookmarks/:id as allowed operation * apply pr comments --- packages/open-api/karakeep-openapi-spec.json | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'packages/open-api/karakeep-openapi-spec.json') diff --git a/packages/open-api/karakeep-openapi-spec.json b/packages/open-api/karakeep-openapi-spec.json index 0f8074d4..3bdaed54 100644 --- a/packages/open-api/karakeep-openapi-spec.json +++ b/packages/open-api/karakeep-openapi-spec.json @@ -2071,28 +2071,6 @@ "204": { "description": "No content - the bookmark was added" }, - "400": { - "description": "Bookmark already in list", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "required": [ - "code", - "message" - ] - } - } - } - }, "404": { "description": "List or bookmark not found", "content": { -- cgit v1.2.3-70-g09d2