Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,26 @@ paths:
'500':
description: Internal server error

delete:
summary: Delete a book by ID
description: Deletes a single book by 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 successfully deleted
'404':
description: Book not found
'500':
description: Internal server error

components:
schemas:
BookInput:
Expand Down