forked from loafle/openapi-generator-original
commit
6da7cbf095
@ -102,7 +102,7 @@ public class DefaultGenerator implements Generator {
|
|||||||
apis.put("apis", allOperations);
|
apis.put("apis", allOperations);
|
||||||
bundle.put("apiInfo", apis);
|
bundle.put("apiInfo", apis);
|
||||||
bundle.put("models", allModels);
|
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++) {
|
for(int i = 0; i < allModels.size() - 1; i++) {
|
||||||
HashMap<String, CodegenModel> cm = (HashMap<String, CodegenModel>) allModels.get(i);
|
HashMap<String, CodegenModel> cm = (HashMap<String, CodegenModel>) allModels.get(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user