fix(oas31): detect user request body edits in OpenAPI.paths (#8500)
Affected wrapped selector was hasUserEditedBody. This commit fixes the bug by calling the original selector when path+method combination is not found in OpenAPI.webhooks field. Refs #8498
This commit is contained in:
@@ -46,7 +46,7 @@ export const createOnlyOAS31SelectorWrapper =
|
||||
if (system.getSystem().specSelectors.isOAS31()) {
|
||||
const selectedValue = selector(state, ...args)
|
||||
return typeof selectedValue === "function"
|
||||
? selectedValue(system)
|
||||
? selectedValue(oriSelector, system)
|
||||
: selectedValue
|
||||
} else {
|
||||
return oriSelector(...args)
|
||||
|
||||
Reference in New Issue
Block a user