-
使用Spring Boot开发第一个RESTful接口,
/students/{id}
-
增加web测试与参数校验并封装校验结果
[ { "field": "school", "msg": "must not be blank" }, { "field": "age", "msg": "must not be null" } ]
-
增加swagger,访问
swagger-ui.html
-
利用mockito测试没有实现的方法
-
热重启
- 目前项目重启花费是时间4s左右,热重启是1.5s左右
- 每次修改文件点击
build project
,快捷键command+F9
- 更多关于
devtools
访问 boot-devtools-restart
-
banner
设置,比如禁用banner
-
配置启动环境。
-
返回值封装和query param校验
-
添加token校验,并根据需求设置web层的用户信息参数
-
Notifications
You must be signed in to change notification settings - Fork 1
yoa1226/spring-boot-in-action
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Spring Boot in action
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published