gregorip02 / openapi-generator
Intelligent generation of OpenAPI documentation based on your routes.
Fund package maintenance!
www.buymeacoffee.com/BgHiZ9b
Requires
- php: >=7.3
- goldspecdigital/oooas: ^2.8
- illuminate/console: ^7.0|^8.0
- illuminate/routing: ^7.0|^8.0
- illuminate/support: ^7.0|^8.0
- symfony/yaml: ^5.1|^6.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
Suggests
- ext-yaml: A human-readable output of the YAML document.
README
This package helps you with the automatic generation of the file with the .yml extension that contains the OpenAPI specification of your registered routes.
Installation
You can install the package via composer:
composer require gregorip02/openapi-generator
Usage
Publish the package configuration file.
php artisan vendor:publish --provider="OpenapiGenerator\OpenapiGeneratorServiceProvider"
Generate your openapi.yaml
file.
php artisan openapi:generate
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 gregori.pineres02@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.