[FAQ] ErrorException of l5-swagger:generate, Required @OAInfo() not found

l5-swagger 除了要添加 @OAGet() 针对方法的注释之外,每个 Controller 还需要一个概述信息,如下:

/**
 * @OAInfo(
 *     title="Auth API",
 *     version="1.0"
 * )
 */

Link:https://www.cnblogs.com/farwish/p/14014079.html

原文地址:https://www.cnblogs.com/farwish/p/14014079.html