def get_ref_path(openapi_major_version):
    """Return the path for references based on the openapi version

    :param int openapi_major_version: The major version of the OpenAPI standard
        to use. Supported values are 2 and 3.
    """
    ref_paths = {2: 'definitions',
                 3: 'components/schemas'}
    return ref_paths[openapi_major_version]