Martin Karkowski
d911380511
- Fixes: - helpers.jsonSchemaMethods: -> renamed flatten to nested. - Added: - helpers.descriptors: -> parseFunctionToJsonSchema - helpers.jsonSchemaMethods: -> added `flattenSchema` and `reduceSchema`. This Function will create a nested JSON-Schema.
12 lines
246 B
TypeScript
12 lines
246 B
TypeScript
/**
|
|
* @author Martin Karkowski
|
|
* @email m.karkowski@zema.de
|
|
* @desc [description]
|
|
*/
|
|
|
|
import { replaceAll } from "./stringMethods";
|
|
|
|
export function convertPath(path: string): string {
|
|
return replaceAll(path, [".", "[", ["]", ""]], "/");
|
|
}
|