mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-05 23:34:19 -04:00
Swagger: Add information to API Token header (#7585)
* Add a description to the API Token header for swagger
This commit is contained in:
parent
2c5c458dd7
commit
635e7b38bd
@ -43,6 +43,7 @@
|
||||
// type: apiKey
|
||||
// name: Authorization
|
||||
// in: header
|
||||
// description: API tokens must be prepended with "token" followed by a space.
|
||||
// SudoParam:
|
||||
// type: apiKey
|
||||
// name: sudo
|
||||
|
@ -10390,6 +10390,7 @@
|
||||
"in": "query"
|
||||
},
|
||||
"AuthorizationHeaderToken": {
|
||||
"description": "API tokens must be prepended with \"token\" followed by a space.",
|
||||
"type": "apiKey",
|
||||
"name": "Authorization",
|
||||
"in": "header"
|
||||
|
Loading…
Reference in New Issue
Block a user