We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67c925c commit 44361d1Copy full SHA for 44361d1
src/core/plugins/oas3/spec-extensions/wrap-selectors.js
@@ -48,6 +48,10 @@ export const definitions = onlyOAS3(createSelector(
48
spec => spec.getIn(["components", "schemas"]) || Map()
49
))
50
51
+export const hasHost = onlyOAS3((state) => {
52
+ return spec(state).hasIn(["servers", 0])
53
+})
54
+
55
export const securityDefinitions = onlyOAS3(createSelector(
56
spec,
57
spec => spec.getIn(["components", "securitySchemes"]) || null
0 commit comments