From 4ba3e595f20bceb042bddf150eec4b1347456cce Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 31 Mar 2022 00:29:27 +0200 Subject: [PATCH] [status] Fix: Add missing API docs Signed-off-by: Knut Ahlers --- status.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/status.go b/status.go index 2fef936..02dc76e 100644 --- a/status.go +++ b/status.go @@ -34,9 +34,11 @@ type ( func init() { registerRoute(plugins.HTTPRouteRegistrationArgs{ + Description: "Provides a status JSON to check whether the bot is living", HandlerFunc: handleStatusRequest, Method: http.MethodGet, Module: "status", + Name: "Status", Path: "/status.json", QueryParams: []plugins.HTTPRouteParamDocumentation{ {