mirror of
https://github.com/axllent/mailpit.git
synced 2025-04-25 12:25:04 +02:00
Update swagger comments
This commit is contained in:
parent
6a82dd0eb2
commit
8eed8d92e5
@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/axllent/mailpit/utils/updater"
|
"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
|
// swagger:model AppInformation
|
||||||
type appInformation struct {
|
type appInformation struct {
|
||||||
@ -33,12 +33,12 @@ type appInformation struct {
|
|||||||
func AppInfo(w http.ResponseWriter, r *http.Request) {
|
func AppInfo(w http.ResponseWriter, r *http.Request) {
|
||||||
// swagger:route GET /api/v1/info application AppInformation
|
// 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.
|
// Returns basic runtime information, message totals and latest release version.
|
||||||
//
|
//
|
||||||
// Produces:
|
// Produces:
|
||||||
// - application/octet-stream
|
// - application/json
|
||||||
//
|
//
|
||||||
// Schemes: http, https
|
// Schemes: http, https
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user