Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

TheDragonCode/laravel-swagger

Repository files navigation

laravel-swagger

Documentation generation for Swagger without OpenAPI

Laravel Swagger

Installation

Note: In order for the composer to be able to install an unstable package, in the option "minimum-stability" of the file "composer.json" the value must be "dev".

Laravel

  1. Execute the command:
composer require andrey-helldar/laravel-swagger:dev-master --dev
  1. Use the swagger:generate command to generate documentation.

Lumen

  1. Execute the command:
composer require andrey-helldar/laravel-swagger:dev-master --dev
  1. Copy the configuration file to the config folder.

  2. Register the configuration file in bootstrap/app.php:

$app->configure('laravel-swagger');
  1. Register the service provider in bootstrap/app.php:
$app->register(Helldar\LaravelSwagger\ServiceProvider::class);
  1. Use the swagger:generate command to generate documentation.

About

Documentation generation for Swagger with OpenAPI

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Languages