diff options
author | techknowlogick <techknowlogick@gitea.io> | 2019-05-04 11:45:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-04 11:45:34 -0400 |
commit | 46373e765702a203bfcb576c9d3639314ef4965f (patch) | |
tree | a44ba4de8593a9ad7898683e0e6df80e0072ef17 /templates/swagger | |
parent | 1fa96629461ac4229932b0a4526fc2f60c88ec51 (diff) | |
download | gitea-46373e765702a203bfcb576c9d3639314ef4965f.tar.gz gitea-46373e765702a203bfcb576c9d3639314ef4965f.zip |
Hash App token (#6724)
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index b6160fc84d..134b9051b2 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -9458,8 +9458,11 @@ }, "responses": { "AccessToken": { - "description": "AccessToken represents a API access token.", + "description": "AccessToken represents an API access token.", "headers": { + "hashed_token": { + "type": "string" + }, "id": { "type": "integer", "format": "int64" @@ -9467,7 +9470,10 @@ "name": { "type": "string" }, - "sha1": { + "token": { + "type": "string" + }, + "token_last_eight": { "type": "string" } } |