laravel-swagger
laravel-swagger copied to clipboard
Auto generates the swagger documentation of a laravel project based on best practices and simple assumptions
Fixes mtrajano/laravel-swagger#60 To anyone already using this repo and needing to use this fix for the time being, you can use the following info in your `composer.json`: ```json "repositories": {...
When [API Resource](https://laravel.com/docs/6.x/eloquent-resources) exists to use it to generate a response.
- Laravel Swagger Version: 0.6.0 - Laravel Version: 5.5.50 - PHP Version: 7.3.24 ### Description: After I run the script, I get the following ``` "/archive/color/add": { "post": { "summary":...
- Laravel Swagger Version: dev-master - Laravel Version: 8 - PHP Version: 8 ### Description: First install says needs php 7.4 or higher but i have php8 i installed with...
- Laravel Swagger Version: 0.6.4 - Laravel Version: 8.32.1 - PHP Version: 8.0.3 ### Description: When attempting to generate the docs for my API after switching to PHP 8 I...
Even if i set in my config/laravel-swagger.php ` 'basePath' => '/api', ` after running `php artisan laravel-swagger:generate --filter="/api/development_plans" > development_plans.json` the resulting file contains paths with /api included
What is wrong with this method does not exist ? Do I have to provide it in all my controllers ? Is there a config option to turn it off...
This PR includes the swagger v2 date format for date-typed body parameters. See https://swagger.io/specification/v2/ under the header Data Types. It then goes on to list a number of formats which...
- Laravel Swagger Version: 0.6.4 - Laravel Version: 8.12.3 - PHP Version: 7.4.12 ### Description: Say you have an internal session based API on `/api` in your application, one would...