Merge branch 'develop_2.0' of github.com:wordnik/swagger-codegen into develop_2.0

This commit is contained in:
Tony Tam 2014-09-22 16:44:23 -07:00
commit 1406c36ced
90 changed files with 5 additions and 2 deletions

View File

@ -65,12 +65,15 @@ public class DefaultCodegen {
public Map<String, String> modelTemplateFiles() {
return modelTemplateFiles;
}
public String apiFileFolder() {
return outputFolder + File.separator + apiPackage().replaceAll("\\.", File.separator);
return outputFolder + "/" + apiPackage().replaceAll("\\.", "/");
}
public String modelFileFolder() {
return outputFolder + File.separator + modelPackage().replaceAll("\\.", File.separator);
return outputFolder + "/" + modelPackage().replaceAll("\\.", "/");
}
public Map<String, Object> additionalProperties() {
return additionalProperties;
}