# Copyright 2016-2018 The Wazo Authors  (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0-or-later

from wazo_dird import BaseViewPlugin

from . import http


class ApiViewPlugin(BaseViewPlugin):
    def load(self, dependencies):
        api = dependencies['api']
        api.add_resource(http.ApiResource, '/api/api.yml')
