swagger-codegen
swagger-codegen copied to clipboard
Add Swagger Codegen version to the auto-generated files
Description
We want to add Swagger Codegen version (e.g. 2.2.3, 2.3.0-SNAPSHOT, etc) to the auto-generated files (source code, markdown doc, etc) so that developers can easily tell what version of Swagger Codegen was used to generate the files.
Swagger-codegen version
Latest master
Related issues
https://github.com/swagger-api/swagger-codegen/issues/5376
Suggest a Fix
We've already filed a couple PR to add Swagger Codegen version to the following generators:
- Ruby
- Java Spring
If anyone wants to contribute similar update for other langauges, please reply to let us know.
#6038 is the pr for Restbed generator.
#6039 is the pr for C++ REST SDK generator.