chinmay/open-api-laravel

Laravel Open API Schema Generator

dev-main 2024-03-31 18:29 UTC

This package is auto-updated.

Last update: 2024-05-01 00:12:15 UTC


README

This package is aimed at generating OpenAPI specification schema by parsing the api routes and form request classes.

Usage

Installation

To install this package locally, run the following command

composer require chinmay/open-api-laravel --dev

Configuration

The routes to be included/excluded, schema path, etc. are configured via openapi.php config file.

To publish the file run the following command.

php artisan vendor:publish --tag=openapi

Generate Schema

To generate schema run the following command

php artisan openapi:generate

License

This project is licensed under the MIT License.

Status

Work in Progress: This project is actively being developed