<reponame>cristian-rincon/python-flask-crud
"""This module handles internal namespaces for de APIv1."""

from flask import Blueprint
from flask_restx import Api

from app.api.users.views import users_ns

API_PREFIX_V1 = "/api/v1"

blueprint = Blueprint(API_PREFIX_V1, __name__, url_prefix=API_PREFIX_V1)
api = Api(
    blueprint,
    title="API V1",
    description="This is the API V1",
)

api.add_namespace(users_ns)

"""This module handles internal namespaces for de APIv1."""

from flask import Blueprint
from flask_restx import Api

from app.api.users.views import users_ns

API_PREFIX_V1 = "/api/v1"

blueprint = Blueprint(API_PREFIX_V1, __name__, url_prefix=API_PREFIX_V1)
api = Api(
    blueprint,
    title="API V1",
    description="This is the API V1",
)

api.add_namespace(users_ns)
This module handles internal namespaces for de APIv1.