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

Function parameterWithMetaByIdentity

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

Source from the content-addressed store, hash-verified

37721 requestFor = (s, o, i) => eo(s).getIn([o, i], null),
37722 mutatedRequestFor = (s, o, i) => to(s).getIn([o, i], null),
37723 allowTryItOutFor = () => !0,
37724 parameterWithMetaByIdentity = (s, o, i) => {
37725 const a = Ns(s).getIn(['paths', ...o, 'parameters'], (0, ze.OrderedMap)()),
37726 u = s.getIn(['meta', 'paths', ...o, 'parameters'], (0, ze.OrderedMap)())
37727 return a
37728 .map((s) => {
37729 const o = u.get(`${i.get('in')}.${i.get('name')}`),
37730 a = u.get(`${i.get('in')}.${i.get('name')}.hash-${i.hashCode()}`)
37731 return (0, ze.OrderedMap)().merge(s, o, a)
37732 })
37733 .find(
37734 (s) => s.get('in') === i.get('in') && s.get('name') === i.get('name'),
37735 (0, ze.OrderedMap)()
37736 )
37737 },
37738 parameterInclusionSettingFor = (s, o, i, a) => {
37739 const u = `${a}.${i}`

Callers 2

parameterWithMetaFunction · 0.85
operationWithMetaFunction · 0.85

Calls 5

mergeMethod · 0.80
getMethod · 0.65
NsFunction · 0.50
findMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected