[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:
stkrwork 2017-06-30 17:58:31 +02:00 committed by wing328
parent b2366670d7
commit fbd888d298

View File

@ -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) {