LaravelPackages.net
Acme Inc.
Toggle sidebar
nasrulhazim/oas

OAS, Open API Specification Generator.

0
1
About nasrulhazim/oas

nasrulhazim/oas is a Laravel package for oas, open api specification generator.. It currently has 1 GitHub stars and 0 downloads on Packagist. Install it with composer require nasrulhazim/oas. Discover more Laravel packages by nasrulhazim or browse all Laravel packages to compare alternatives.

Last updated

Build Status

OAS is OpenAPI Specification generator. It will help to simplify generate your OAS from given database.

Usage

Create a new OAS

$ php oas make:oas 1.0 

This will create a new OAS under storage/oas/1.0. You should have the following directory structure:

Create a new OAS Schema

$ php oas make:schema 1.0 table_name --connection=database_connection_name

You need to specifiy --connection option if you planning on using other than default connection - sqlite

This will generate a new tag under storage/oas/1.0/components/schemas directory.

Create a new OAS Tag

$ php oas make:tag 1.0 "Name of the tag" "Description of the tag"

This will generate a new tag under storage/oas/1.0/tags directory.

Create a new Path

$ php oas make:path 1.0 get "Name of the tag" table_name operation_id --summary="Summary is optional, but best to have it together."

This will generate a new tag under storage/oas/1.0/paths directory.

License

OAS is an open-source software licensed under the MIT license.

Star History Chart