Fix api doc response code (#14123)

Fixes #14120
tokarchuk/v1.17
Norwin 4 years ago committed by GitHub
parent fa2e34928d
commit bdeccc3688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      routers/api/v1/user/app.go
  2. 2
      templates/swagger/v1_json.tmpl

@ -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"
}
}

Loading…
Cancel
Save