You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
358 B
Python
16 lines
358 B
Python
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) |