Hi Abimaran, Understood. Thanks for the clarification.
Regards, Inosh On Mon, Nov 13, 2017 at 5:36 PM, Abimaran Kugathasan <abima...@wso2.com> wrote: > Hi Inosh, > > On Mon, Nov 13, 2017 at 2:27 PM, Inosh Perera <ino...@wso2.com> wrote: > >> Hi All, >> >> I'm writing device type APIs for IoT server and I have written a yaml >> that I'm trying to convert[1] to MSF4J. When checking the generated code, >> it looks bit messy and there is no proper formatting or license headers in >> the generated code. Is there a way to do this with io.swagger.codegen or is >> it done manually? >> > > Normally we don't format the code or license header for the generated > code. License can be added through mustache files. But, this code gen don't > have the capability to auto format the code as class names, parameters > names are depends on your API swagger file parameters. It's hard to format. > > Also, since this gen directory is replace each time you generate the code, > we don't do anything manually there. But, functionality should work. > > [1]: https://github.com/sanjeewa-malalgoda/swagger2MSF4J/tree/master/src/ > main/resources/MSF4J > >> >> [1]. https://github.com/sanjeewa-malalgoda/swagger2MSF4J >> >> Regards, >> Inosh >> >> -- >> Inosh Perera >> Senior Software Engineer, WSO2 Inc. >> Tel: 077813 7285, 0785293686 >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thanks > Abimaran Kugathasan > Senior Software Engineer - API Technologies > > Email : abima...@wso2.com > Mobile : +94 773922820 <+94%2077%20392%202820> > > <http://stackoverflow.com/users/515034> > <http://lk.linkedin.com/in/abimaran> > <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> > <https://twitter.com/abimaran> > > -- Inosh Perera Senior Software Engineer, WSO2 Inc. Tel: 077813 7285, 0785293686
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev