From 897764bd853f57288d6cf4d5003d3de1133ffbc1 Mon Sep 17 00:00:00 2001 From: Guhapriya01 Date: Fri, 4 Oct 2024 12:51:31 +0530 Subject: [PATCH] docs: replace 'int' with 'Integer' for consistency --- api-docs/book-api.md | 6 +++--- api-docs/borrowings-api.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api-docs/book-api.md b/api-docs/book-api.md index 2cf9a04..948d9eb 100644 --- a/api-docs/book-api.md +++ b/api-docs/book-api.md @@ -177,7 +177,7 @@ The Book API provides a set of endpoints to manage the library's book collection **Description:** Retrieves the details of a book by its ID. **Path Parameters:** -- `id` (int) : The unique identifier of the book. +- `id` (Integer) : The unique identifier of the book. **Success Response:** - **Code:** `200 OK` @@ -264,7 +264,7 @@ None **Description:** Updates the details of an existing book by its ID. **Path Parameters:** -- `id` (int) : The unique identifier of the book. +- `id` (Integer) : The unique identifier of the book. **Request Body:** ```json @@ -320,7 +320,7 @@ None **Description:** Deletes a book from the library by its ID. **Path Parameters:** -- `id` (int) : The unique identifier of the book. +- `id` (Integer) : The unique identifier of the book. **Success Response:** - **Code:** `204 NO CONTENT` diff --git a/api-docs/borrowings-api.md b/api-docs/borrowings-api.md index ccb276e..e797bd7 100644 --- a/api-docs/borrowings-api.md +++ b/api-docs/borrowings-api.md @@ -86,7 +86,7 @@ The Borrowings API provides a set of endpoints to manage the borrowing and retur **Description:** Returns a borrowed book to the library. **Path Parameters:** -- `id` (int) : The unique identifier of the borrowing. +- `id` (Integer) : The unique identifier of the borrowing. **Success Response:** - **Code:** `200 OK` @@ -148,7 +148,7 @@ The Borrowings API provides a set of endpoints to manage the borrowing and retur **Description:** Pays the fine associated with a borrowing. **Path Parameters:** -- `id` (int) : The unique identifier of the borrowing. +- `id` (Integer) : The unique identifier of the borrowing. **Success Response:** - **Code:** `200 OK`