laravel-openapi
laravel-openapi copied to clipboard
Generate OpenAPI specification for Laravel Applications
This PR adds support for custom extension attributes to be added to the root spec. This is particularly useful for configuring doc generation tools like Redocly which I added an...
## Current Behavior If a Controller function accesses the path variable by model binding (as described here https://laravel.com/docs/9.x/routing#implicit-binding) and doesn't manually specify a path type, it is typed as string....
The parameters that are automatically generated from Laravel route are of the standard string data type. How is it possible to change it to Integer 
When I'm defining my schemas and they're referencing each other the generation hangs. Consider the following example. ```php // UserSchema.php return Schema::object('User') ->properties( Schema::array('vehicles')->items(VehicleSchema::ref())->description('The related vehicles')->default(null), ) ``` ```php //...
The following error is seen when generating the OpenAPI JSON from the command line (`artisan openapi:generate`). This is for a bare controller with no editing beyond the Laravel boilerplate for...
I run php artisan openapi:generate but my schemas in app\OpenApi\Schemas not generated
Within Laravel's `config/database.php` file, there is an option to add a prefix to database table names. My MySQL config for example (defualt prefix is '') : ``` 'mysql' => [...
With interfaces and custom data users can make their own factories. It is possible to make general factory (for example `MyGeneralParametersFactory`). This factory get custom data `["class"=>PetsParameter::class]`. Then user's factory...
Hello @vyuldashev 🤝 Thanks for making this excellent package. I wanted to make a quick issue to track the progress towards supporting OpenAPI v3.1, because it's been out for over...
While using `php artisan openapi:generate` we can run into this exception:  This happens when your response class doesn't extend from `Vyuldashev\LaravelOpenApi\Factories\ResponseFactory` or straight up doesn't exist in the path...