forked from loafle/openapi-generator-original
[CONFIG] [APACHE] Fix for Java7 issue (#5960)
* - Added Restbed Generator * - Added Json processing functions to model - Removed unnused code from restbed codegen class - Added response header processing to api template * Changed it to respect alphabetical order * Made the string joining java 7 compatible * Added samples * fix java7 issue with apache
This commit is contained in:
parent
b2366670d7
commit
fbd888d298
@ -78,8 +78,8 @@ public class Apache2ConfigCodegen extends DefaultCodegen implements CodegenConfi
|
|||||||
item = "*";
|
item = "*";
|
||||||
}
|
}
|
||||||
splitPath.add(item);
|
splitPath.add(item);
|
||||||
|
op.path += item + "/";
|
||||||
}
|
}
|
||||||
op.path = String.join("/", splitPath);
|
|
||||||
op.vendorExtensions.put("x-codegen-userInfoPath", userInfoPath);
|
op.vendorExtensions.put("x-codegen-userInfoPath", userInfoPath);
|
||||||
boolean foundInNewList = false;
|
boolean foundInNewList = false;
|
||||||
for (CodegenOperation op1 : newOpList) {
|
for (CodegenOperation op1 : newOpList) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user