protected String postProcessRaml(String preRaml){
  Matcher fixIncludes=INCLUDE_FIXER_PATTERN.matcher(preRaml);
  while (fixIncludes.find()) {
    try {
      preRaml=preRaml.replace(fixIncludes.group(0),fixIncludes.group(1));
      logger.info("    RAML Post Processor replacing: [" + fixIncludes.group(0) + "] with ["+ fixIncludes.group(1)+ "]");
    }
 catch (    Exception ex) {
      logger.error("    RAML Post Processor Exception: " + ex.getMessage());
    }
  }
  return preRaml;
}

protected String postProcessRaml ( String preRaml ) { Matcher fixIncludes = INCLUDE_FIXER_PATTERN . matcher ( preRaml ) ; while ( fixIncludes . find ( ) ) { try { preRaml = preRaml . replace ( fixIncludes . group ( 0 ) , fixIncludes . group ( 1 ) ) ; logger . info ( "    RAML Post Processor replacing: [" + fixIncludes . group ( 0 ) + "] with [" + fixIncludes . group ( 1 ) + "]" ) ; } catch ( Exception ex ) { logger . error ( "    RAML Post Processor Exception: " + ex . getMessage ( ) ) ; } } return preRaml ; }
raml post - processor that will be run before the final raml string is output to overcome a limitation due to character escaping .
