mirror of https://gitee.com/answerdev/answer.git
feat: admin's answer list filter by question id
This commit is contained in:
parent
c6d703321f
commit
1711ab5753
|
@ -62,6 +62,12 @@ const docTemplate = `{
|
|||
"description": "answer id or question title",
|
||||
"name": "query",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "question id",
|
||||
"name": "question_id",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
|
|
@ -50,6 +50,12 @@
|
|||
"description": "answer id or question title",
|
||||
"name": "query",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "question id",
|
||||
"name": "question_id",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
|
|
@ -1394,6 +1394,10 @@ paths:
|
|||
in: query
|
||||
name: query
|
||||
type: string
|
||||
- description: question id
|
||||
in: query
|
||||
name: question_id
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
|
|
Loading…
Reference in New Issue