jinsoft / laravel-swagger
A great way to integrate Swagger into Laravel
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 178
Language:JavaScript
Requires
- php: >=5.3.0
- zircote/swagger-php: ^2.0
This package is auto-updated.
Last update: 2024-05-14 00:56:44 UTC
README
在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=""
* )
* )
*/