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.

__init__.py 498B

1234567891011121314151617181920
  1. from flask import Blueprint
  2. from flask_restx import Namespace
  3. from libs.external_api import ExternalApi
  4. bp = Blueprint("files", __name__, url_prefix="/files")
  5. api = ExternalApi(
  6. bp,
  7. version="1.0",
  8. title="Files API",
  9. description="API for file operations including upload and preview",
  10. doc="/docs", # Enable Swagger UI at /files/docs
  11. )
  12. files_ns = Namespace("files", description="File operations")
  13. from . import image_preview, tool_files, upload
  14. api.add_namespace(files_ns)