renepardon / laravel-code-generator-swagger
Additional code generator commands for the amazing laravel-code-generator package to also generate Swagger/OpenAPI specific files
v1.0.3
2020-02-10 10:16 UTC
Requires
- php: ^7.1
- illuminate/support: ^6.0
- renepardon/laravel-code-generator: ^1.0
Requires (Dev)
- matthewbdaly/artisan-standalone: ^0.0.11
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.0
- psy/psysh: ^0.9.12
- squizlabs/php_codesniffer: ^3.5
Suggests
- renepardon/laravel-code-generator: This package gets extended by laravel-code-generator-swagger so you should really install it :)
- vyuldashev/laravel-openapi: OpenAPI annotations and documentation related stuff
This package is auto-updated.
Last update: 2024-11-10 21:01:26 UTC
README
Additional code generator commands for the laravel-code-generator package to also generate Swagger/OpenAPI specific files
Installation
You can install the package via composer:
composer require renepardon/laravel-code-generator-swagger
Usage
Ensure the model "Whatever" already exists.
php artisan create:openapi-parameter Whatever --template-name=openapi --resource-file=whatever.json
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 rene.pardon@boonweb.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.