MCPcopy Create free account
hub / github.com/dataease/SQLBot / OneOfVisitor

Class OneOfVisitor

frontend/public/swagger-ui-bundle.js:46297–46316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46295 }
46296 }
46297 const Zd = AnyOfVisitor
46298 class OneOfVisitor extends Mixin(Nd, Rd, yd) {
46299 constructor(s) {
46300 ;(super(s),
46301 (this.element = new Su.wE()),
46302 this.element.classes.push('json-schema-oneOf'))
46303 }
46304 ArrayElement(s) {
46305 return (
46306 s.forEach((s) => {
46307 const o = isJSONReferenceLikeElement(s)
46308 ? ['document', 'objects', 'JSONReference']
46309 : ['document', 'objects', 'JSONSchema'],
46310 i = this.toRefractedElement(o, s)
46311 this.element.push(i)
46312 }),
46313 this.copyMetaAndAttributes(s, this.element),
46314 qu
46315 )
46316 }
46317 }
46318 const ef = OneOfVisitor
46319 class DefinitionsVisitor extends Mixin(Jd, Rd, yd) {

Callers

nothing calls this directly

Calls 1

MixinFunction · 0.85

Tested by

no test coverage detected