(s)
| 37539 | } |
| 37540 | return x.replace(/\t/g, ' ') |
| 37541 | }, |
| 37542 | get_xml_sample_schema = (s) => (o, i, a) => { |
| 37543 | const { fn: u } = s() |
| 37544 | if ((o && !o.xml && (o.xml = {}), o && !o.xml.name)) { |
| 37545 | if (!o.$$ref && (o.type || o.items || o.properties || o.additionalProperties)) |
| 37546 | return '<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e' |
| 37547 | if (o.$$ref) { |
| 37548 | let s = o.$$ref.match(/\S*\/(\S+)$/) |
| 37549 | o.xml.name = s[1] |
| 37550 | } |
| 37551 | } |
| 37552 | return u.memoizedCreateXMLExample(o, i, a) |
| 37553 | }, |
| 37554 | get_sample_schema = |
| 37555 | (s) => |
no test coverage detected