hypnodev/openapi-generator

v1.0.5 2023-10-30 08:59 UTC

This package is auto-updated.

Last update: 2024-10-30 01:59:50 UTC


README

Latest Version on Packagist Total Downloads

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.