docs(swagger): fix response type annotations for swagger generation

Update DeleteMasterKey endpoint to use MapData instead of dto.DeleteResponse
and add blank references for model registry DTOs to ensure proper swagger
documentation generation.
This commit is contained in:
2026-01-10 15:36:46 +08:00
parent 8331fab8d5
commit c990fa6610
2 changed files with 8 additions and 1 deletions

View File

@@ -4,10 +4,17 @@ import (
"net/http"
"strings"
"github.com/ez-api/ez-api/internal/dto"
"github.com/ez-api/ez-api/internal/service"
"github.com/gin-gonic/gin"
)
// Blank references for swagger doc generation
var (
_ dto.ModelRegistryStatusResponse
_ dto.ModelRegistryCheckResponse
)
type ModelRegistryHandler struct {
reg *service.ModelRegistryService
}