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

Function getParameter

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

Source from the content-addressed store, hash-verified

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 (
37758 (o = o || []),
37759 s
37760 .getIn(['meta', 'paths', ...o, 'parameters'], (0, ze.fromJS)([]))
37761 .find((s) => ze.Map.isMap(s) && s.get('name') === i && s.get('in') === a) ||
37762 (0, ze.Map)()
37763 )
37764 }
37765 const ro = Ut(spec, (s) => {
37766 const o = s.get('host')

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
findMethod · 0.45

Tested by

no test coverage detected