Fix: add 'type' even if '' is specified.
Merge branch 'swagger' of git://github.com/bezhermoso/NelmioApiDocBundle into swagger
Merge branch 'swagger-export' of git://github.com/bezhermoso/NelmioApiDocBundle into swagger-export
Finished logic for dumping files.