Skip to content

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

License

Notifications You must be signed in to change notification settings

hypnodev/openapi-generator

Repository files navigation

openapi-generator

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.

About

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

Resources

License

Stars

Watchers

Forks

Languages