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

Function operationWithMeta

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

Source from the content-addressed store, hash-verified

37745 .find((s) => s.get('in') === a && s.get('name') === i, (0, ze.OrderedMap)())
37746 return parameterWithMetaByIdentity(s, o, u)
37747 },
37748 operationWithMeta = (s, o, i) => {
37749 const a = Ns(s).getIn(['paths', o, i], (0, ze.OrderedMap)()),
37750 u = s.getIn(['meta', 'paths', o, i], (0, ze.OrderedMap)()),
37751 _ = a
37752 .get('parameters', (0, ze.List)())
37753 .map((a) => parameterWithMetaByIdentity(s, [o, i], a))
37754 return (0, ze.OrderedMap)().merge(a, u).set('parameters', _)
37755 }
37756 function getParameter(s, o, i, a) {
37757 return (

Callers 1

parameterValuesFunction · 0.85

Calls 6

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

Tested by

no test coverage detected