jfinal-swagger让你的应用接口更加简单

 

jfinal-swagger让你的应用接口更加简单git

https://gitee.com/leeckent/jfinal-swagger/blob/master/README.mdapi

 

   要加个配置文件config.properties ,ui

   加上swagger.base_package=com.feikao.api.controller  你的controller包路径url

1  http://localhost:8083/swagger/api  点击explore接口

ip

===============================get

1 在classit

@Api(tag = "member", description = "会员管理")io

public class MemberController extends BaseController{ast

 

    @ApiOperation(url = "/member/login", tag = "login", httpMethod = "get", description = "登入")

@Params({@Param(name = "loginName", required = true, description = "登入用户名"),

@Param(name = "password", required = true, description = "登入密码")

    })

public void login() {

============================

点击 try it out

运行 EXecute能够看执行结果

相关文章
相关标签/搜索