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

Class AnyOfVisitor

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

Source from the content-addressed store, hash-verified

46274 }
46275 }
46276 const Qd = AllOfVisitor
46277 class AnyOfVisitor extends Mixin(Nd, Rd, yd) {
46278 constructor(s) {
46279 ;(super(s),
46280 (this.element = new Su.wE()),
46281 this.element.classes.push('json-schema-anyOf'))
46282 }
46283 ArrayElement(s) {
46284 return (
46285 s.forEach((s) => {
46286 const o = isJSONReferenceLikeElement(s)
46287 ? ['document', 'objects', 'JSONReference']
46288 : ['document', 'objects', 'JSONSchema'],
46289 i = this.toRefractedElement(o, s)
46290 this.element.push(i)
46291 }),
46292 this.copyMetaAndAttributes(s, this.element),
46293 qu
46294 )
46295 }
46296 }
46297 const Zd = AnyOfVisitor
46298 class OneOfVisitor extends Mixin(Nd, Rd, yd) {

Callers

nothing calls this directly

Calls 1

MixinFunction · 0.85

Tested by

no test coverage detected