endanguyen / yaml-swagger-laravel
Create swagger read only yaml slpit file to easy develop
Installs: 3 074
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:laravel-package
Requires (Dev)
- symfony/yaml: ~3.4|~4.0
Conflicts
- symfony/yaml: <3.4
This package is not auto-updated.
Last update: 2024-11-15 21:39:09 UTC
README
Swagger 3.0 for Laravel >=5.7 This package is a wrapper of swagger-ui adapted to work with Laravel 5.
Publish pack config and view files into your project by running:
$ php artisan vendor:publish --provider "Enda\YamlSwaggerLaravel\YamlSwaggerLaravelServiceProvider"
open your config/app.php
and add this line in providers
section
Enda\YamlSwaggerLaravel\YamlSwaggerLaravelServiceProvider::class,
Edit pack config in
config/swagger.php
Edit and create documents swagger in
documents/swagger_v1