Swagger+Knife4j Docs

Swagger+Knife4j Docs
This commit is contained in:
Crystal.Sea
2021-02-01 23:24:01 +08:00
parent 16912f7562
commit 0527968490
10 changed files with 147 additions and 8 deletions

View File

@@ -34,10 +34,14 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
/**
* @author Crystal.Sea
* https://apereo.github.io/cas/6.2.x/protocol/CAS-Protocol-Specification.html
*/
@Api(tags = "CAS API文档模块")
@Controller
public class Cas10AuthorizeEndpoint extends CasBaseAuthorizeEndpoint{
@@ -77,6 +81,7 @@ renew [OPTIONAL] - if this parameter is set, ticket validation will only succeed
no<LF>
<LF>
*/
@ApiOperation(value = "CAS 1.0 ticket验证接口", notes = "通过ticket获取当前登录用户信息",httpMethod="POST")
@RequestMapping("/authz/cas/validate")
@ResponseBody
public String validate(