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

We have a check in our github actions, if the generated doku is up to date. So we compare the version we have checked in with a new generated one....

In documentation: "Even if the schema defines a status code, you must supply the status code in the controller method attributes, or only one response will be included in the...

When the `Laravel\Sanctum\Http\Controllers\CsrfCookieController` is used, there is no way to add it path into schema. Route list ignore this Controller, because it not contains `#[OpenApi\PathItem]` and `#[OpenApi\Operation]` attributes, but I...

Hello, do you have plans to add support for OpenAPI 3.1? It introduced new webhook fields to specification which is a useful feature

At the moment, most generated requests for OpenApi are done via attributes. However, the summary is still done via docblock reflection. I propose to add a summary Attribute to replace...

I have created multiple collection and set different url to them. But when I open any route I'm getting only default schema data

Hello, I've ran into a problem today. While trying to generate the openapi file I had the following error: ![trace](https://user-images.githubusercontent.com/38215798/226682288-1c07666b-d72b-43de-b518-1dbed97d3912.jpg) [TypeResolver](https://github.com/phpDocumentor/TypeResolver) is a dependency of [ReflectionDocBlock](https://github.com/phpDocumentor/ReflectionDocBlock), which is required by...

When there is no docblock for a controller function like: ```php #[OpenApi\Operation] public function __invoke(): Response ``` You will get the following exception: ``` Call to a member function getSummary()...

I'm trying to define Responses for my Open API Schema. In my API, all of my controllers use [Laravel Resources](https://laravel.com/docs/9.x/eloquent-resources) to define how models are transformed into responses, and which...

I executed the command as instructed, however, I'm uncertain if it resolved the issue. Moreover, I lack the documentation on utilizing the OpenAPI tag items. Could you provide guidance on...