refactor(oas31): simplify Webhooks component by utilizing selectors (#8481)
Refs #8474
This commit is contained in:
@@ -114,6 +114,8 @@ export const paths = createSelector(
|
||||
spec => spec.get("paths")
|
||||
)
|
||||
|
||||
export const validOperationMethods = createSelector(() => ["get", "put", "post", "delete", "options", "head", "patch"])
|
||||
|
||||
export const operations = createSelector(
|
||||
paths,
|
||||
paths => {
|
||||
|
||||
Reference in New Issue
Block a user