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

v1.0.5 2019-02-28 08:52 UTC

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

-Document swagger open api 3.0
-Nexus