Skip to content

Commit

Permalink
docs: replace 'int' with 'Integer' for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Guhapriya01 committed Oct 4, 2024
1 parent 4695566 commit 897764b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions api-docs/book-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions api-docs/borrowings-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 897764b

Please sign in to comment.