We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Object.keys()
1 parent 1767bbe commit 9a2cc23Copy full SHA for 9a2cc23
scripts/build.js
@@ -46,7 +46,7 @@ async function run() {
46
const handleRefs = (obj) => {
47
if (typeof obj !== "object" || obj === null) return obj;
48
49
- for (let key in obj) {
+ for (let key of Object.keys(obj)) {
50
if (key === "$ref" && typeof obj[key] === "string") {
51
const ref = obj[key].split("/").at(-1);
52
tempSchema.components.schemas[ref] = schema.components.schemas[ref];
0 commit comments