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.
1 parent e457098 commit 71f5663Copy full SHA for 71f5663
src/overlay.js
@@ -5,7 +5,7 @@ import mergician from 'mergician';
5
6
function applyOverlayToOpenAPI(spec, overlay) {
7
// Use jsonpath.apply to do the changes
8
- overlay.actions.forEach((a)=>{
+ if (overlay.actions && overlay.actions.length >= 1) overlay.actions.forEach((a)=>{
9
// Is it a remove?
10
if (a.hasOwnProperty('remove')) {
11
while(true) {
0 commit comments