Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static fromSerializedPackages(...jsonPaths: string[]): ApiDocs {
const apiModel = new ApiModel();
for (const j of jsonPaths) {
apiModel.loadPackage(j);
}
return new ApiDocs(apiModel);
}