Squash commit: Links reimplementation; OAS interface improvements

This commit is contained in:
Kyle Shockey
2017-06-16 00:28:09 -07:00
parent e415ec7f8a
commit 9dc9a857b7
8 changed files with 67 additions and 12 deletions

View File

@@ -46,6 +46,13 @@ export const spec = state => {
return res
}
export const isOAS3 = createSelector(
// isOAS3 is stubbed out here to work around an issue with injecting more selectors
// in the OAS3 plugin, and to ensure that the function is always available.
spec,
spec => false
)
export const info = createSelector(
spec,
spec => returnSelfOrNewMap(spec && spec.get("info"))