refactor(oas31): simplify Webhooks component by utilizing selectors (#8481)
Refs #8474
This commit is contained in:
@@ -28,6 +28,7 @@ describe("<Operations/>", function(){
|
||||
specSelectors: {
|
||||
isOAS3() { return false },
|
||||
url() { return "https://petstore.swagger.io/v2/swagger.json" },
|
||||
validOperationMethods() { return ["get", "put", "post", "delete", "options", "head", "patch"] },
|
||||
taggedOperations() {
|
||||
return fromJS({
|
||||
"default": {
|
||||
@@ -83,6 +84,7 @@ describe("<Operations/>", function(){
|
||||
specSelectors: {
|
||||
isOAS3() { return true },
|
||||
url() { return "https://petstore.swagger.io/v2/swagger.json" },
|
||||
validOperationMethods() { return ["get", "put", "post", "delete", "options", "head", "patch", "trace"] },
|
||||
taggedOperations() {
|
||||
return fromJS({
|
||||
"default": {
|
||||
|
||||
Reference in New Issue
Block a user