mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-10 12:50:29 +08:00
fix: function comments (#1757)
Modify the function annotation so that the swagger can parse correctly
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user