一个laravel使用swagger的案例
php artisan migrate
php artisan db:seed
php artisan l5-swagger:generate
php artisan serve
doc-web: http://127.0.0.1:8000/api/documentation
doc-json: http://127.0.0.1:8000/docs/api-docs.json ,可以用apifox导入
接口示例: http://127.0.0.1:8000/student/list?page=1&limit=1&name=bob
-
Notifications
You must be signed in to change notification settings - Fork 0
LTaooo/laravel_swagger_demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published