1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 09:44:43 +00:00

Fix api doc response code ()

Fixes 
This commit is contained in:
Norwin 2020-12-24 18:14:01 +00:00 committed by GitHub
parent fa2e34928d
commit bdeccc3688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
routers/api/v1/user
templates/swagger

@ -85,7 +85,7 @@ func CreateAccessToken(ctx *context.APIContext, form api.CreateAccessTokenOption
// name:
// type: string
// responses:
// "200":
// "201":
// "$ref": "#/responses/AccessToken"
t := &models.AccessToken{

@ -11128,7 +11128,7 @@
}
],
"responses": {
"200": {
"201": {
"$ref": "#/responses/AccessToken"
}
}