File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11import { createSelector } from "reselect"
2+ import { List } from "immutable"
23import { isOAS3 as isOAS3Helper } from "../helpers"
34
45
@@ -23,6 +24,6 @@ const OAS3NullSelector = onlyOAS3(nullSelector)
2324export const shownDefinitions = OAS3NullSelector
2425export const definitionsToAuthorize = OAS3NullSelector
2526export const getDefinitionsByNames = OAS3NullSelector
26- export const authorized = OAS3NullSelector
27+ export const authorized = onlyOAS3 ( ( ) => List ( ) )
2728export const isAuthorized = OAS3NullSelector
2829export const getConfigs = OAS3NullSelector
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { OrderedMap } from "immutable"
66const RequestBody = ( {
77 requestBody,
88 getComponent,
9+ getConfigs,
910 specSelectors,
1011 contentType,
1112 isExecute,
@@ -27,6 +28,7 @@ const RequestBody = ({
2728 }
2829 < ModelExample
2930 getComponent = { getComponent }
31+ getConfigs = { getConfigs }
3032 specSelectors = { specSelectors }
3133 expandDepth = { 1 }
3234 isExecute = { isExecute }
@@ -46,6 +48,7 @@ const RequestBody = ({
4648RequestBody . propTypes = {
4749 requestBody : ImPropTypes . orderedMap . isRequired ,
4850 getComponent : PropTypes . func . isRequired ,
51+ getConfigs : PropTypes . func . isRequired ,
4952 specSelectors : PropTypes . object . isRequired ,
5053 contentType : PropTypes . string . isRequired ,
5154 isExecute : PropTypes . bool . isRequired ,
You can’t perform that action at this time.
0 commit comments