use of io.apicurio.datamodels.openapi.v3.models.Oas30Paths in project apicurio-data-models by Apicurio.
the class Oas20to30TransformationVisitor method visitPathItem.
/**
* @see io.apicurio.datamodels.openapi.visitors.IOasVisitor#visitPathItem(io.apicurio.datamodels.openapi.models.OasPathItem)
*/
@Override
public void visitPathItem(OasPathItem node) {
Oas30Paths paths30 = (Oas30Paths) this.lookup(node.parent());
Oas30PathItem pathItem30 = (Oas30PathItem) paths30.createPathItem(node.getPath());
paths30.addPathItem(node.getPath(), pathItem30);
pathItem30.$ref = this.updateRef(node.$ref);
this.mapNode(node, pathItem30);
}
Aggregations