laravel-openapi icon indicating copy to clipboard operation
laravel-openapi copied to clipboard

Generate OpenAPI specification for Laravel Applications

Results 51 laravel-openapi issues
Sort by recently updated
recently updated
newest added

Compiling header parameters into a `DeviceController` parameter file as it seems only a single parameter annotation is allowed on the route: ``` class DeviceParameters extends ParametersFactory { /** * @return...

For anyone wondering how to migrate the docblocks into PHP8 Attributes quickly, this one worked for me: regex replace: `\* @OA\\Operation\(tags=(.*?)\)\n.*?\*/` to `*/\n#[OA\\Operation(tags: [$1])]` `\* @OA\\PathItem\(\)\n .*?\/` to `*/\n#[OA\\PathItem()]` Maybe...

If I try to set `null` as an example of some field, it will be ignored. Example: ```php Schema::string('foo') ->nullable() ->example(null), ``` It will look like this: ```json "foo": {...

Hi, In the collection section of [documentation](https://vyuldashev.github.io/laravel-openapi/collections.html) there is not still documentation, it would be great to have it!

It appears there's no way currently (or at least documented way I can find) to require more than one API Key header for the Security Requirements. It looks like the...

Great package! Missing documentation for [Collections](https://vyuldashev.github.io/laravel-openapi/collections.html) and [Middlewares](https://vyuldashev.github.io/laravel-openapi/middlewares.html). Can we have a rudimentary description for these and how they're used? The only information we have is [a comment](https://github.com/vyuldashev/laravel-openapi/blob/master/config/openapi.php#L44) in the...

When configuring global security it is not posible to use config:cache command as it breaks with the "Your configuration files are not serializable." exception. At config/openapi.php: `'security' => [ GoldSpecDigital\ObjectOrientedOAS\Objects\SecurityRequirement::create()->securityScheme('oauth2'),...

This PR includes improvements to the generator command. - Save to storage JSON & YAML format supported - Validates OpenAPI spec currently checks for missing responses - Default responses applied...

Here is a small modification to support optional route parameters when generating openapi.

Right now the package has the functionality to create multiple collections, but there is no option to serve them on multiple routes. Example: ``` /api/public/docs /api/private/docs ``` Because OpenApiController does...