mpociot / laravel-apidoc-generator

Laravel API Documentation Generator
https://beyondco.de/docs/laravel-apidoc-generator/
MIT License
3.43k stars 614 forks source link

fix: responseFile convert empty object to array #823

Open deathkel opened 3 years ago

deathkel commented 3 years ago

responseFile convert empty object to array due to json_decode($content, true) Example

{"foo":{}}

convert to

{"foo":[]}