laravel-api-to-postman
laravel-api-to-postman copied to clipboard
Generate a Postman collection automatically from your Laravel API
Hi, on a project from scratch with Laravel 9.19 I have this error : ``` ReflectionException Class "O:47:"Laravel\SerializableClosure\SerializableClosure":1:{s:12:"serializable";O:46:"Laravel\SerializableClosure\Serializers\Signed":2:{s:12:"serializable";s:295:"O:46:"Laravel\SerializableClosure\Serializers\Native":5:{s:3:"use";a:0:{}s:8:"function";s:77:"function (\Illuminate\Http\Request $request) { return $request->user(); }";s:5:"scope";s:37:"Illuminate\Routing\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"00000000000004400000000000000000";}";s:4:"hash";s:44:"/BJGjgLOCrK/HYxZhXaHlU4J/cO5KqbSFiXWK3axFYA=";}}" does not exist at vendor/andreaselia/laravel-api-to-postman/src/Commands/ExportPostmanCommand.php:205 201▕...
We could use `getDocComment` to get the docblock and in there we can have some special docs written only for this purpose, would be really useful, I've checked your examples...
…points with errors or incompatibility in legacy projects
- create auth methods - update config - refactor authentication classes - update phpunit config - update tests - add token property - add trait to share authentication - create...
The ->put('url') overwrites the url part of the collection instead of adding to it upon GET requests. Snippet run in tinkerwell now correctly merges the data into the collection Would...
Hi, I have a problem with generating correct documentation whenever I have a GET request that has form data for "query" parameters. It resolves URL for Postman as: `?lat&lng&distance&start_date&end_date&filters` instead...
The second parameter in nested resources are renderend as `{param}` instead of `:param`. This adds extra work configuring the postman suite since you need to re-type all the parameters and...
When exporting the postman suite my routes are not grouped "correctly", these routes: ROUTE: `api/v1/versions/{version}/equipment/{equipment}/accessories` NAME: `versions.equipment.equipment-accessories.index` ROUTE: `api/v1/versions/{version}/equipment/{equipment}/accessories` NAME: `versions.equipment.equipment-accessories.sync` ROUTE: `api/v1/versions/{version}/equipment/{equipment}/accessories/{accessory}` NAME: `versions.equipment.equipment-accessories.attach` ROUTE: `api/v1/versions/{version}/equipment/{equipment}/accessories/{accessory}` NAME: `versions.equipment.equipment-accessories.detach` Actual...