diff options
author | zeripath <art27@cantab.net> | 2019-07-24 09:34:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 09:34:11 +0100 |
commit | 635e7b38bd6a43aac442178f04141c1030ecc1cc (patch) | |
tree | 1536126fea6e4b5bb7a71fb3cef393d1b6e38c2f /routers | |
parent | 2c5c458dd70a0651b137d1af62fb50de5af4e9af (diff) | |
download | gitea-635e7b38bd6a43aac442178f04141c1030ecc1cc.tar.gz gitea-635e7b38bd6a43aac442178f04141c1030ecc1cc.zip |
Swagger: Add information to API Token header (#7585)
* Add a description to the API Token header for swagger
Diffstat (limited to 'routers')
-rw-r--r-- | routers/api/v1/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 8170b79dd2..cd308fce51 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -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 |