fix: function comments (#1757)

Modify the function annotation so that the swagger can parse correctly
This commit is contained in:
Jinhongyu 2023-04-19 21:19:48 +08:00 committed by GitHub
parent 0dcccfc19c
commit 8db87a7559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ func (c *ApiController) DeleteToken() {
// @Title GetOAuthCode // @Title GetOAuthCode
// @Tag Token API // @Tag Token API
// @Description get OAuth code // @Description get OAuth code
// @Param id query string true "The id ( owner/name ) of user" // @Param user_id query string true "The id ( owner/name ) of user"
// @Param client_id query string true "OAuth client id" // @Param client_id query string true "OAuth client id"
// @Param response_type query string true "OAuth response type" // @Param response_type query string true "OAuth response type"
// @Param redirect_uri query string true "OAuth redirect URI" // @Param redirect_uri query string true "OAuth redirect URI"