From 8eed8d92e51133ab6f51356d2ac7513c80a90c72 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Fri, 21 Apr 2023 11:55:32 +1200 Subject: [PATCH] Update swagger comments --- server/apiv1/info.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/apiv1/info.go b/server/apiv1/info.go index 178e3e3..d3cd471 100644 --- a/server/apiv1/info.go +++ b/server/apiv1/info.go @@ -11,7 +11,7 @@ import ( "github.com/axllent/mailpit/utils/updater" ) -// Response includes the current and latest Mailpit versions, database info, and memory usage +// Response includes the current and latest Mailpit version, database info, and memory usage // // swagger:model AppInformation type appInformation struct { @@ -33,12 +33,12 @@ type appInformation struct { func AppInfo(w http.ResponseWriter, r *http.Request) { // swagger:route GET /api/v1/info application AppInformation // - // # Get the application information + // # Get application information // // Returns basic runtime information, message totals and latest release version. // // Produces: - // - application/octet-stream + // - application/json // // Schemes: http, https //