@redocly/cli
Version:
[@Redocly](https://redocly.com) CLI is your all-in-one OpenAPI utility. It builds, manages, improves, and quality-checks your OpenAPI descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make API g
28 lines • 758 B
JavaScript
export function createHarLog({ entries = [], pageInfo = {}, version, } = {
entries: [],
pageInfo: {},
version: undefined,
}) {
return {
log: {
version: '1.2',
creator: {
name: '@redocly/respect-core',
version: version,
},
pages: [
Object.assign({
startedDateTime: new Date().toISOString(),
id: 'page_1',
title: 'Page',
pageTimings: {
onContentLoad: -1,
onLoad: -1,
},
}, pageInfo),
],
entries,
},
};
}
//# sourceMappingURL=har-logs.js.map