Merged in feature/openapifixes (pull request #106)

OpenAPI Middleware & Fixes

* updates
This commit is contained in:
Michael McGuinness
2025-03-18 13:06:42 +00:00
parent 555b6d420b
commit 3dd0c718cd
56 changed files with 8577 additions and 122 deletions
+2 -3
View File
@@ -15,7 +15,6 @@ import (
"queryorchestration/internal/serviceconfig/queue/clientsync"
queuemock "queryorchestration/mocks/queue"
"github.com/go-playground/validator/v10"
"github.com/google/uuid"
"github.com/labstack/echo/v4"
"github.com/pashagolub/pgxmock/v3"
@@ -43,7 +42,7 @@ func TestListDocumentsByClientId(t *testing.T) {
rec := httptest.NewRecorder()
ctx := e.NewContext(req, rec)
cons := queryapi.NewControllers(validator.New(), &queryapi.Services{
cons := queryapi.NewControllers(&queryapi.Services{
Document: document.New(cfg),
})
@@ -91,7 +90,7 @@ func TestGetDocument(t *testing.T) {
rec := httptest.NewRecorder()
ctx := e.NewContext(req, rec)
cons := queryapi.NewControllers(validator.New(), &queryapi.Services{
cons := queryapi.NewControllers(&queryapi.Services{
Document: document.New(cfg),
})