Add API Version to Codeine Additional Properties

Also updated htmlDocs template so html documentation shows API version.
This commit is contained in:
russellb337
2015-02-06 16:26:33 -08:00
parent 416c087be0
commit bd91922072
2 changed files with 4 additions and 0 deletions

View File

@@ -54,6 +54,9 @@ public class DefaultGenerator implements Generator {
if(license.getUrl() != null)
config.additionalProperties().put("licenseUrl", license.getUrl());
}
if(info.getVersion() != null) {
config.additionalProperties().put("version", info.getVersion());
}
}
StringBuilder hostBuilder = new StringBuilder();