Fix api doc response code (#14123)

Fixes #14120
release/v1.15
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

View File

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

View File

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