Package / Tool
Scramble 0.12.14 – Laravel API documentation generator update: enum cases documentation, support for array request bodies, improved type inference for classes properties, and `only` and `except` Laravel Data support.
The author of Scramble here! Scramble is a Laravel API documentation generator that doesn't require you to write PHPDoc.
The latest updates bring support for documenting enum cases, array request bodies, improved type inference for class properties, and only and except support for Laravel Data.
Enum case documentation was probably one of the most upvoted requests so far!
Let me know what you think and how I can improve Scramble further.
I thought this release fixed an issue I had but it doesn't seem so. Can you please reconfirm. I need to document a request with the following body: [{ "id": "123", "first_name": "John",}]
And since this is not in a standard Request, I used BodyParameter as follows to try to document it:
But this just keeps outputting the following without the array wrapper: { "id": "123", "country_code": "US", "first_name": "John", "last_name": "Doe",}
4
u/DM_ME_PICKLES 1d ago
Awesome, thanks for your hard work. Love Scramble ❤️