mirror of
https://github.com/axllent/mailpit.git
synced 2025-04-21 12:17:05 +02:00
Docs: Add pagination to swagger search documentation
This commit is contained in:
parent
93a6107df2
commit
6d2fab1bc6
server
@ -94,6 +94,12 @@ func Search(w http.ResponseWriter, r *http.Request) {
|
||||
// description: Search query
|
||||
// required: true
|
||||
// type: string
|
||||
// + name: start
|
||||
// in: query
|
||||
// description: Pagination offset
|
||||
// required: false
|
||||
// type: integer
|
||||
// default: 0
|
||||
// + name: limit
|
||||
// in: query
|
||||
// description: Limit results
|
||||
|
@ -465,6 +465,13 @@
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Pagination offset",
|
||||
"name": "start",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"default": 50,
|
||||
|
Loading…
x
Reference in New Issue
Block a user