Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
...(isReference(bodySchema.value)
? changeRef(bodySchema.value)
: changeRefs(bodySchema.value)),
},
});
// Notify call tracker
const serviceName = toSchemas
.composeLens(keyLens())
.getOption(schemaRecord);
if (!isNone(serviceName) && store.cores[serviceName.value]) {
store.cores[serviceName.value].track({ req, res });
}
listeners.forEach((listener: IListener) => listener.notify({ req, res }));
jsf.reset();
return res;
};
}
: {
definitions,
...(isReference(bodySchema.value)
? changeRef(bodySchema.value)
: changeRefs(bodySchema.value)),
});
// Notify call tracker
const serviceName = toSchemas
.composeLens(keyLens())
.getOption(schemaRecord);
if (!isNone(serviceName) && store.cores[serviceName.value]) {
store.cores[serviceName.value].track({ req, res });
}
listeners.forEach((listener: IListener) => listener.notify({ req, res }));
jsf.reset();
return res;
};
}