async def METHOD_NAME(rest_client):
    endpoint = "/v2"
    response = await rest_client.get(endpoint)
    metadata = MetadataServerResponse.parse_obj(response.json())
    assert metadata.name == "mlserver"
    assert metadata.version == __version__
    assert metadata.extensions == []