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

Function createXMLExample

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

Source from the content-addressed store, hash-verified

37509 if ('file' !== j) return a ? ((ae[Y] = ds()(x) ? de : [{ _attr: x }, de]), ae) : de
37510 },
37511 inferSchema = (s) => (s.schema && (s = s.schema), s.properties && (s.type = 'object'), s),
37512 createXMLExample = (s, o, i) => {
37513 const a = sampleFromSchemaGeneric(s, o, i, !0)
37514 if (a) return 'string' == typeof a ? a : ls()(a, { declaration: !0, indent: '\t' })
37515 },
37516 sampleFromSchema = (s, o, i) => sampleFromSchemaGeneric(s, o, i, !1),
37517 resolver = (s, o, i) => [s, JSON.stringify(o), JSON.stringify(i)],

Callers

nothing calls this directly

Calls 2

sampleFromSchemaGenericFunction · 0.85
lsFunction · 0.85

Tested by

no test coverage detected