Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 207 Bytes

File metadata and controls

7 lines (5 loc) · 207 Bytes

Usage

Run node merge.js [--force] to merge main.json and all openapi files into a single openapi.json.

Regex to replace paths

\"\$ref\"\:\ \"(\#)(.+)\/(.+)\"
\"\$ref\"\:\ \".$2\/$3.json\"