This package allows you to generate OpenAPI documentation from your Laravel application, without extends your controllers or create extra file! Do it from phpDoc or use Attributes. The packages will bring directly routes from your application (default: /api), request and response from your controllers and models and will generate a full OpenAPI documentation.
You can install the package via composer:
composer require hypnodev/openapi-generator
$ php artisan openapi:generator api --output=storage/openapi.yaml
Have a look to the docs for more information.
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the Issue page.
The MIT License (MIT). Please see License File for more information.