fix: resolve referenced securitySchemes (via #5028)

This commit is contained in:
Steven Aerts
2018-11-16 00:21:01 +01:00
committed by kyle
parent 354c30c659
commit 0fd35603e6
2 changed files with 5 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ export const updateJsonSpec = (ori, {specActions}) => (...args) => {
specActions.requestResolvedSubtree(["paths", k])
}
})
// Trigger resolution of any securitySchemes-level $refs.
specActions.requestResolvedSubtree(["components", "securitySchemes"])
}
// Log the request ( just for debugging, shouldn't affect prod )