mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-29 23:34:00 +00:00
Fixup swagger documentation
PUT params should be in body
This commit is contained in:
parent
558005a5ea
commit
e2bf2dc2f5
@ -60,7 +60,6 @@ func BlockUser(ctx *context.APIContext) {
|
|||||||
// type: string
|
// type: string
|
||||||
// required: true
|
// required: true
|
||||||
// - name: note
|
// - name: note
|
||||||
// in: query
|
|
||||||
// description: optional note for the block
|
// description: optional note for the block
|
||||||
// type: string
|
// type: string
|
||||||
// responses:
|
// responses:
|
||||||
|
3
templates/swagger/v1_json.tmpl
generated
3
templates/swagger/v1_json.tmpl
generated
@ -18928,8 +18928,7 @@
|
|||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "optional note for the block",
|
"description": "optional note for the block",
|
||||||
"name": "note",
|
"name": "note"
|
||||||
"in": "query"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
|
Loading…
Reference in New Issue
Block a user