diff --git a/src/core/plugins/oas3/auth-extensions/wrap-selectors.js b/src/core/plugins/oas3/auth-extensions/wrap-selectors.js index 530b43c23a9..908c92e59a6 100644 --- a/src/core/plugins/oas3/auth-extensions/wrap-selectors.js +++ b/src/core/plugins/oas3/auth-extensions/wrap-selectors.js @@ -1,4 +1,5 @@ import { createSelector } from "reselect" +import { List } from "immutable" import { isOAS3 as isOAS3Helper } from "../helpers" @@ -23,6 +24,6 @@ const OAS3NullSelector = onlyOAS3(nullSelector) export const shownDefinitions = OAS3NullSelector export const definitionsToAuthorize = OAS3NullSelector export const getDefinitionsByNames = OAS3NullSelector -export const authorized = OAS3NullSelector +export const authorized = onlyOAS3(() => List()) export const isAuthorized = OAS3NullSelector export const getConfigs = OAS3NullSelector diff --git a/src/core/plugins/oas3/components/request-body.jsx b/src/core/plugins/oas3/components/request-body.jsx index 48976ef5c80..7094e0687fc 100644 --- a/src/core/plugins/oas3/components/request-body.jsx +++ b/src/core/plugins/oas3/components/request-body.jsx @@ -6,6 +6,7 @@ import { OrderedMap } from "immutable" const RequestBody = ({ requestBody, getComponent, + getConfigs, specSelectors, contentType, isExecute, @@ -27,6 +28,7 @@ const RequestBody = ({ }