Loading README.md +7 −6 Original line number Diff line number Diff line Loading @@ -45,12 +45,13 @@ If you have some white char in your path/filename, openapi-merger will failed be In the readYAML function, the first line: ```c# function readYAML(filePath) { filePath = filePath.replace ("%20", " "); // Bug fixing, SylR/FraunhoferHHI filePath = filePath.replace ("%20", " "); // White-space bug fixe provided by SylR (FraunhoferHHI) const str = "" + fs.readFileSync(filePath, "utf8"); return yaml.load(str); } ``` ## Using it To start the merging go into the definition folder of the API and execute this: Loading Loading
README.md +7 −6 Original line number Diff line number Diff line Loading @@ -45,12 +45,13 @@ If you have some white char in your path/filename, openapi-merger will failed be In the readYAML function, the first line: ```c# function readYAML(filePath) { filePath = filePath.replace ("%20", " "); // Bug fixing, SylR/FraunhoferHHI filePath = filePath.replace ("%20", " "); // White-space bug fixe provided by SylR (FraunhoferHHI) const str = "" + fs.readFileSync(filePath, "utf8"); return yaml.load(str); } ``` ## Using it To start the merging go into the definition folder of the API and execute this: Loading