Windows path problem fixed

see #268, #269, #288
This commit is contained in:
Martin Ehrnhoefer 2014-10-02 08:55:29 +02:00
parent e66f3c48ac
commit d5d1eb2833

View File

@ -102,7 +102,7 @@ public class DefaultGenerator implements Generator {
apis.put("apis", allOperations);
bundle.put("apiInfo", apis);
bundle.put("models", allModels);
bundle.put("apiFolder", config.apiPackage().replaceAll("\\.", File.separator));
bundle.put("apiFolder", config.apiPackage().replaceAll("\\.", "/"));
for(int i = 0; i < allModels.size() - 1; i++) {
HashMap<String, CodegenModel> cm = (HashMap<String, CodegenModel>) allModels.get(i);