Looking to hire Laravel developers? Try LaraJobs

laravel-swagger maintained by jinsoft

Description
A great way to integrate Swagger into Laravel
Author
Last update
2019/01/13 12:52 (dev-master)
License
Links
Downloads
2

Comments
comments powered by Disqus

jlapp/swaggervel 基础上修改

修改

1.增加中文翻译

2.修改zircote/swagger-php 版本依赖为 ^2.0

使用方法,在任意一个controller里面添加以下内容(最好单独创建一个controller)

/**
 * @SWG\Swagger(
 *     schemes={"http","https"},
 *     basePath="/",
 *     @SWG\Info(
 *         version="1.0.0",
 *         title="API文档",
 *         description="",
 *         termsOfService=""
 *     )
 * )
 */