`master` branch now has ability to specify output filename for json/yaml targets (see [PR #8454](https://github.com/swagger-api/swagger-codegen/pull/8454)). Would be great if this could be added to `3.0.0` branch.