You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031
  1. from flask import Blueprint
  2. from flask_restx import Namespace
  3. from libs.external_api import ExternalApi
  4. bp = Blueprint("inner_api", __name__, url_prefix="/inner/api")
  5. api = ExternalApi(
  6. bp,
  7. version="1.0",
  8. title="Inner API",
  9. description="Internal APIs for enterprise features, billing, and plugin communication",
  10. )
  11. # Create namespace
  12. inner_api_ns = Namespace("inner_api", description="Internal API operations", path="/")
  13. from . import mail as _mail
  14. from .plugin import plugin as _plugin
  15. from .workspace import workspace as _workspace
  16. api.add_namespace(inner_api_ns)
  17. __all__ = [
  18. "_mail",
  19. "_plugin",
  20. "_workspace",
  21. "api",
  22. "bp",
  23. "inner_api_ns",
  24. ]