~vpzom/lotide

Documentation: Fix typo in OpenAPI spec v1 APPLIED

Ngô Ngọc Đức Huy: 1
 Documentation: Fix typo in OpenAPI spec

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~vpzom/lotide/patches/25915/mbox | git am -3
Learn more about email & git

[PATCH] Documentation: Fix typo in OpenAPI spec Export this patch

has_unread_notification -> has_unread_notifications
---
 openapi/openapi.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openapi/openapi.json b/openapi/openapi.json
index dabfadd..881f931 100644
--- a/openapi/openapi.json
+++ b/openapi/openapi.json
@@ -18,12 +18,12 @@
			},
			"LoginUserInfo": {
				"type": "object",
				"required": ["id", "username", "is_site_admin", "has_unread_notification"],
				"required": ["id", "username", "is_site_admin", "has_unread_notifications"],
				"properties": {
					"id": {"type": "integer"},
					"username": {"type": "string"},
					"is_site_admin": {"type": "boolean"},
					"has_unread_notification": {"type": "boolean"}
					"has_unread_notifications": {"type": "boolean"}
				}
			},
			"MinimalCommentInfo": {
-- 
2.33.1
Nice catch, thanks!