hypnodev / openapi-generator
OpenAPI generator
Requires
- php: ^8.0
- illuminate/support: ^10.0
Requires (Dev)
- phpunit/phpunit: ^9.0
README
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.
Installation
You can install the package via composer:
composer require hypnodev/openapi-generator
Usage
$ php artisan openapi:generator api --output=storage/openapi.yaml
Docs
Have a look to the docs for more information.
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email me@cristiancosenza.com instead of using the Issue page.
Credits
License
The MIT License (MIT). Please see License File for more information.