Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/renepardon/laravel-code-generator-swagger

Additional code generator commands for the amazing laravel-code-generator package to also generate swagger specific files
https://github.com/renepardon/laravel-code-generator-swagger

Last synced: 12 days ago
JSON representation

Additional code generator commands for the amazing laravel-code-generator package to also generate swagger specific files

Awesome Lists containing this project

README

        

# Very short description of the package

[![Latest Version on Packagist](https://img.shields.io/packagist/v/renepardon/laravel-code-generator-swagger.svg?style=flat-square)](https://packagist.org/packages/renepardon/laravel-code-generator-swagger)
[![Build Status](https://img.shields.io/travis/renepardon/laravel-code-generator-swagger/master.svg?style=flat-square)](https://travis-ci.org/renepardon/laravel-code-generator-swagger)
[![Quality Score](https://img.shields.io/scrutinizer/g/renepardon/laravel-code-generator-swagger.svg?style=flat-square)](https://scrutinizer-ci.com/g/renepardon/laravel-code-generator-swagger)
[![Total Downloads](https://img.shields.io/packagist/dt/renepardon/laravel-code-generator-swagger.svg?style=flat-square)](https://packagist.org/packages/renepardon/laravel-code-generator-swagger)

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:

```bash
composer require renepardon/laravel-code-generator-swagger
```

## Usage

Ensure the model "Whatever" already exists.

``` bash
php artisan create:openapi-parameter Whatever --template-name=openapi --resource-file=whatever.json
```

### Testing

``` bash
composer test
```

### Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

## Credits

- [Christoph, René Pardon](https://github.com/renepardon)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.