Skip to content

Commit e58b66e

Browse files
committed
export applyOverlay function
1 parent 8da04e0 commit e58b66e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/overlay.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ function sortOpenAPIFields(field1, field2) {
5757
}
5858
}
5959

60+
export function applyOverlay(definition, overlay) {
61+
return applyOverlayToOpenAPI(definition, overlay);
62+
}
63+
6064
export function overlayFiles(openapiFile, overlayFile) {
6165
// Parse the "input" OpenAPI document
6266
const specraw = fs.readFileSync(openapiFile, 'utf8');

0 commit comments

Comments
 (0)