Merge pull request #2008 from wing328/license_template

[Ruby] add API info as file header to ruby templates
This commit is contained in:
wing328
2016-02-04 14:49:57 +08:00
30 changed files with 373 additions and 0 deletions

View File

@@ -129,6 +129,9 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
if (info.getVersion() != null) {
config.additionalProperties().put("version", info.getVersion());
}
if (info.getTermsOfService() != null) {
config.additionalProperties().put("termsOfService", info.getTermsOfService());
}
}
StringBuilder hostBuilder = new StringBuilder();