public Schema createRef(ToShapeId shapeId) {
        return Schema.builder().ref(getPointer(shapeId)).build();
    }
Creates a schema that contains a $ref that points to a schema component.

@param shapeId Shape ID to point to with a $ref schema.
@return Returns the creates schema.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/Context.java