[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!