4 ms·
swagger-codegen does this fairly good, how about server side code generation? swagger-codegen also does this, but not so good if you are targeting golang for ex
by tuyguntn 9y ago
swagger-codegen does this fairly good, how about server side code generation? swagger-codegen also does this, but not so good if you are targeting golang for example
- elcapitan 9y agoIt's fairly easy to modify for your needs though, have a look at the templates: https://github.com/swagger-api/swagger-codegen/tree/master/modules/swagger-codegen/src/main/resources/go https://github.com/swagger-api/swagger-codegen/tree/master/m... You can create a copy of that template directory, adjust them and pass it as a parameter to swagger-codegen.
- wing328hk 9y agoHi, for any feedback on the Go server stub generator, please let us know via https://github.com/swagger-api/swagger-codegen/issues/new https://github.com/swagger-api/swagger-codegen/issues/new. Also worth sharing with you that the Go client generator in the latest master (2.3.0) has been refactored. Please give it a try and let us know if you've any feedback. Disclosure: I'm a top contributor Swagger Codegen