MCPcopy Index your code
hub / github.com/dataease/SQLBot / wrapOAS31Fn

Function wrapOAS31Fn

frontend/public/swagger-ui-bundle.js:71213–71224  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

71211 i.specSelectors.isOAS31()
71212 ? Re.createElement(s, Mn()({}, a, { originalComponent: o, getSystem: i.getSystem }))
71213 : Re.createElement(o, a),
71214 wrapOAS31Fn = (s, o) => {
71215 const { fn: i, specSelectors: a } = o
71216 return Object.fromEntries(
71217 Object.entries(s).map(([s, o]) => {
71218 const u = i[s]
71219 return [
71220 s,
71221 (...s) => (a.isOAS31() ? o(...s) : 'function' == typeof u ? u(...s) : void 0),
71222 ]
71223 })
71224 )
71225 },
71226 CI = createOnlyOAS31ComponentWrapper(({ getSystem: s }) => {
71227 const o = s().getComponent('OAS31License', !0)

Callers 1

ZIFunction · 0.85

Calls 3

oFunction · 0.70
uFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected