We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efcfd6b commit 18d41f9Copy full SHA for 18d41f9
openapi-tool/commands/generate.js
@@ -58,6 +58,7 @@ exports.generateFiles = async (argv) => {
58
delete spec.components.schemas.schema
59
}
60
deepReplace(spec, "$ref", "#/components/schemas/schema", `#/components/schemas/${name}Item`)
61
+ spec.info['x-ref-schema-name'] = undefined
62
63
return spec
64
}))).filter((n) => n !== null);
0 commit comments