From 01dc373f4a36d40acfd49bbb4a86426e5f9334c7 Mon Sep 17 00:00:00 2001 From: Dagger Agent Date: Mon, 19 May 2025 09:11:13 +0000 Subject: [PATCH] Follows up on PR #48 --- openapi.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index e098466..1e3e4a7 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -71,6 +71,30 @@ paths: '500': description: Internal server error + delete: + summary: Delete a book by ID + description: Deletes a book given its ID + operationId: deleteBook + parameters: + - name: id + in: path + required: true + description: ID of the book to delete + schema: + type: integer + format: int64 + responses: + '200': + description: Book deleted successfully + content: + application/json: + schema: + $ref: '#/components/schemas/Book' + '404': + description: Book not found + '500': + description: Internal server error + components: schemas: BookInput: