This is actually done in the `swagger.js` in `_constructSwaggerValue()` now so I've removed this whole block.