1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-02-05 13:14:57 +02:00

Swagger: Update swagger docs

This commit is contained in:
Ralph Slooten 2023-07-12 17:22:48 +12:00
parent ac0e7163dd
commit 56982798dc
2 changed files with 11 additions and 10 deletions

View File

@ -32,6 +32,7 @@ func WebUIConfig(w http.ResponseWriter, r *http.Request) {
// # Get web UI configuration
//
// Returns configuration settings for the web UI.
// Intended for web UI only!
//
// Produces:
// - application/json

View File

@ -489,7 +489,7 @@
},
"/api/v1/webui": {
"get": {
"description": "Returns configuration settings for the web UI.",
"description": "Returns configuration settings for the web UI.\nIntended for web UI only!",
"produces": [
"application/json"
],
@ -789,12 +789,6 @@
"description": "MessagesSummary is a summary of a list of messages",
"type": "object",
"properties": {
"count": {
"description": "Number of results returned",
"type": "integer",
"format": "int64",
"x-go-name": "Count"
},
"messages": {
"description": "Messages summary\nin:body",
"type": "array",
@ -803,6 +797,12 @@
},
"x-go-name": "Messages"
},
"messages_count": {
"description": "Total number of messages matching current query",
"type": "integer",
"format": "int64",
"x-go-name": "MessagesCount"
},
"start": {
"description": "Pagination offset",
"type": "integer",
@ -926,10 +926,10 @@
},
"responses": {
"BinaryResponse": {
"description": "Binary data reponse inherits the attachment's content type"
"description": "Binary data response inherits the attachment's content type"
},
"ErrorResponse": {
"description": "Error reponse"
"description": "Error response"
},
"InfoResponse": {
"description": "Application information",
@ -949,7 +949,7 @@
}
},
"OKResponse": {
"description": "Plain text \"ok\" reponse"
"description": "Plain text \"ok\" response"
},
"TextResponse": {
"description": "Plain text response"