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
@ -94,6 +94,12 @@ func Search(w http.ResponseWriter, r *http.Request) {
|
|||||||
// description: Search query
|
// description: Search query
|
||||||
// required: true
|
// required: true
|
||||||
// type: string
|
// type: string
|
||||||
|
// + name: start
|
||||||
|
// in: query
|
||||||
|
// description: Pagination offset
|
||||||
|
// required: false
|
||||||
|
// type: integer
|
||||||
|
// default: 0
|
||||||
// + name: limit
|
// + name: limit
|
||||||
// in: query
|
// in: query
|
||||||
// description: Limit results
|
// description: Limit results
|
||||||
|
@ -465,6 +465,13 @@
|
|||||||
"in": "query",
|
"in": "query",
|
||||||
"required": true
|
"required": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 0,
|
||||||
|
"description": "Pagination offset",
|
||||||
|
"name": "start",
|
||||||
|
"in": "query"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 50,
|
"default": 50,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user