use of io.apicurio.datamodels.openapi.v3.models.Oas30XML in project apicurio-data-models by Apicurio.
the class Oas20to30TransformationVisitor method visitXML.
/**
* @see io.apicurio.datamodels.openapi.visitors.IOasVisitor#visitXML(io.apicurio.datamodels.openapi.models.OasXML)
*/
@Override
public void visitXML(OasXML node) {
Oas30Schema parent30 = (Oas30Schema) this.lookup(node.parent());
Oas30XML xml30 = (Oas30XML) parent30.createXML();
parent30.xml = xml30;
xml30.name = node.name;
xml30.namespace = node.namespace;
xml30.prefix = node.prefix;
xml30.attribute = node.attribute;
xml30.wrapped = node.wrapped;
this.mapNode(node, xml30);
}
Aggregations