⚙️Generate OpenAPI

$ php artisan openapi:generator {prefix=api} {--output=}

By default we'll pick all the route under the api namespace and the YAML will be outputted in the storage folder as openapi.yaml.

Please consider that this command is able to generate only YAML (.yaml, .yml) file and not JSON (at least for the moment).

Last updated