scramble icon indicating copy to clipboard operation
scramble copied to clipboard

Modern Laravel OpenAPI (Swagger) documentation generator. No PHPDoc annotations required.

Results 82 scramble issues
Sort by recently updated
recently updated
newest added

This allows overriding default extension responses, in case of multiple `shouldHandle` calls returning true. We have a different set of pagination properties than the Laravel default, which currently forces us...

According to the docs, Additional collection data will automatically be documented when adding additional data to a collection. ```php use Illuminate\Http\Resources\Json\AnonymousResourceCollection; use App\Models\TodoItem; use Illuminate\Pagination\LengthAwarePaginator; class TodoItemsController { public function...

Basic Controller that extends to another controllers, for example usage global pagination responses. Problem: When in extended Controller we use method from parent class to return response()->json(?) always returning string...

Hi guy! I deployed a site with Laravel Octane powered by FrankenPHP and everything works fine and fast! Today, I looked my API doc, and saw an error with `JsonResource`...

bug

Cannot generate docs if controller parameter is a union type. In my project I have a union type for Report system, user can report a User, Comment or a Post....

bug

WIP fixes #226, fixes #169, fixes #235, fixes #634 This one is another very complex PR, but it ~would allow creating playgrounds for Scramble by making rules evaluation optional and...

Laravel 10.x | Scramble 0.8.5 | PHP 8.3.x Error occurs when requesting `docs/api.json` and breaks the loading of the whole docs site: The `getClassDefinition` method has a return type of...

needs more info

Hi, When running under octane this error happens and after I hit refresh 2 or 3 times it's gone. :/ ![image](https://github.com/dedoc/scramble/assets/16762056/0746f840-73e3-4cac-a3fc-a5e33ec7592c) ![image](https://github.com/dedoc/scramble/assets/16762056/5160b48e-3d1f-4604-9f1d-e1e93dbfb5d7)

Hi - We use a custom Response Trait to organise all our responses. When using this, we get the following on our Docs: This, particular endpoint returns the following format:...

Hi, OpenAPI supports Links parameter - https://swagger.io/docs/specification/links/ How do I specify that with Scramble? Thanks

enhancement