feat: Add Swagger documentation for admin and master API endpoints

- Added Swagger documentation for the following admin endpoints:
  - Create a new master tenant
  - Create a new provider
  - Register a new model
  - List all models
  - Update a model
  - Force sync snapshot
  - Ingest logs

- Added Swagger documentation for the master endpoint:
  - Issue a child key

- Updated go.mod and go.sum to include necessary dependencies for Swagger.
This commit is contained in:
2025-12-05 15:01:35 +08:00
parent 25e5e105b3
commit 770a9fef2b
10 changed files with 2017 additions and 26 deletions

View File

@@ -52,6 +52,7 @@ services:
EZ_REDIS_ADDR: ${EZ_REDIS_ADDR:-redis:6379}
EZ_REDIS_PASSWORD: ${EZ_REDIS_PASSWORD}
EZ_REDIS_DB: ${EZ_REDIS_DB:-0}
EZ_ADMIN_TOKEN: ${EZ_ADMIN_TOKEN:-admin123}
depends_on:
postgres:
condition: service_healthy