Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

rygilles/laravel-openapi-schema-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel OpenAPI Schema Generator (WIP !)

Automatically generate your Laravel Api project OpenAPI schema.

Installation

Laravel version >= 5.4 is required.

Require this package with composer using the following command:

$ composer require rygilles/laravel-openapi-schema-generator

Go to your config/app.php and add the service provider:

Rygilles\OpenApiGenerator\OpenApiSchemaGeneratorServiceProvider::class,

Publish configuration file

This package need a configuration file in to work properly.

$ php artisan vendor:publish --tag=openapischemas

After publishing, edit the file located in your Laravel configuration folder in config/openapischemas.php.

@todo : Documentation on config file content

Usage

To generate your API JSONs schemas, use the openApiSchemas:generate artisan command.

@todo : README.md to complete

About

Generate OpenAPI schema from your Laravel Api project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages