MockingBird / web /api /__init__.py
lewiswu1209's picture
initial commit
f4dac30
raw
history blame contribute delete
358 Bytes
from flask import Blueprint
from flask_restx import Api
from .audio import api as audio
from .synthesizer import api as synthesizer
api_blueprint = Blueprint('api', __name__, url_prefix='/api')
api = Api(
app=api_blueprint,
title='Mocking Bird',
version='1.0',
description='My API'
)
api.add_namespace(audio)
api.add_namespace(synthesizer)