From 245ef2a5c8299941878e64eae5381c97f3dad077 Mon Sep 17 00:00:00 2001 From: Lai-YT <381xvmvbib@gmail.com> Date: Thu, 12 Jan 2023 15:42:57 +0000 Subject: [PATCH 1/2] Fix `count` in `GET /items` --- backend/api/item/items/get.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/api/item/items/get.yml b/backend/api/item/items/get.yml index adb7a2eb..a1d25b39 100644 --- a/backend/api/item/items/get.yml +++ b/backend/api/item/items/get.yml @@ -51,6 +51,7 @@ definitions: count: description: The count of the items. type: integer + example: 1 items: type: array description: The array contains all the items. From 5f3b17b3167e6ed51fcf05070496a135b6879893 Mon Sep 17 00:00:00 2001 From: Lai-YT <381xvmvbib@gmail.com> Date: Thu, 12 Jan 2023 15:46:51 +0000 Subject: [PATCH 2/2] Fix `count` in `GET /tags/{id}/items` --- backend/api/tag/tags/get.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/tag/tags/get.yml b/backend/api/tag/tags/get.yml index e0d1df21..f135e130 100644 --- a/backend/api/tag/tags/get.yml +++ b/backend/api/tag/tags/get.yml @@ -17,7 +17,7 @@ definitions: properties: count: type: integer - example: 4 + example: 1 tags: type: array description: The array contains all the tags.