MCPcopy Create free account
hub / github.com/FxEmbed/FxEmbed / writeSpec

Function writeSpec

docs/scripts/extract-openapi.mjs:151–154  ·  view source on GitHub ↗
(path, spec)

Source from the content-addressed store, hash-verified

149}
150
151function writeSpec(path, spec) {
152 sanitizeSelfReferentialUnions(spec);
153 writeFileSync(path, JSON.stringify(spec, null, 2));
154}
155
156async function main() {
157 const args = process.argv.slice(2);

Callers 1

mainFunction · 0.85

Calls 1

Tested by

no test coverage detected