knuckleswtf / scribe

Generate API documentation for humans from your Laravel codebase.✍
https://scribe.knuckles.wtf/laravel/
MIT License
1.58k stars 280 forks source link

added cast number value to float if value is string #830

Closed ptelevich closed 3 months ago

ptelevich commented 3 months ago
Screenshot 2024-03-20 at 16 33 48 Screenshot 2024-03-20 at 16 35 53
ptelevich commented 3 months ago

Eventually the fix cast all strings with type number (integer, float/double) to float, whether this is int or float. So if user type int - the result will be int, if float - will be float. I suppose it's better than get string on backend side

shalvah commented 3 months ago

Great, thank you!