总结:
1.我们可以通过Swagger给一些比较难理解的属性或者接口,增加注释信息
2.接口文档实时更新
3.可以在线测试
Swagger是一个优秀的工具,几乎所有大公司都有使用它
【注意点】在正式发布的时候,关闭Swagger! ! !出于安全考虑。而且节省运行的内存;
@Autowired
(required =
false)解决
Could not autowire. No beans of 'xxxx' type found 的错误提示,
Could not autowire. No beans of 'JavaMailSender' type found..md
定时任务的执行是自动的