Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
Open
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
24 changes: 24 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down