mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 14:24:03 +00:00
API spec doesn't define the search query parameter
Add query parameter "query" that is used to specify the actual search query. Without this it's not obvious how to search for a particular email.
This commit is contained in:
parent
9976d0251c
commit
4a3fc6552a
1 changed files with 7 additions and 1 deletions
|
@ -103,6 +103,12 @@ paths:
|
|||
required: true
|
||||
type: string
|
||||
enum: [ from, to, containing ]
|
||||
-
|
||||
name: query
|
||||
in: query
|
||||
description: Search parameter
|
||||
required: true
|
||||
type: string
|
||||
-
|
||||
name: start
|
||||
in: query
|
||||
|
@ -183,4 +189,4 @@ paths:
|
|||
format: int64
|
||||
created:
|
||||
type: string
|
||||
format: date-time
|
||||
format: date-time
|
||||
|
|
Loading…
Reference in a new issue