def build_info_section(apidoc_conf):
    """Converts apidoc.json to swagger configuration

    Arguments:
        apidoc_conf {dict} -- apidoc.json converted to a dictionary

    Returns:
        dict -- dictionary matching the require infomation section for swagger
    """
    info_section = {}
    info_section["title"] = apidoc_conf.get("title") or apidoc_conf.get("name")
    info_section["version"] = apidoc_conf.get("version", "0.0.0")
    info_section["description"] = apidoc_conf.get("description")
    return info_section