Hi Tony,
Currently, we've the following mustache template in the auto-generated Ruby files:
{{#appName}}{{{appName}}}
{{/appName}}
{{#appDescription}}{{{appDescription}}}
{{/appDescription}}
{{#version}}OpenAPI spec version: {{version}}{{/version}}
{{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
{{#licenseInfo}}
License: {{{licenseInfo}}}
{{#licenseUrl}}{{licenseUrl}}{{/licenseUrl}}
{{/licenseInfo}}
{{#termsOfService}}
Terms of Service: {{{termsOfService}}}
{{/termsOfService}}
The license info and URL are obtained from the spec. Shall we remove it and hard-code to Apache 2.0?
I will apply the same "partial" mustache template to all langauges if you're ok with it.
William
tony tam於 2016年2月27日星期六 UTC+8上午1時19分39秒寫道: