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
@@ -8,7 +8,6 @@ import (
queryapi "queryorchestration/api/queryAPI"
"github.com/go-playground/validator/v10"
"github.com/google/uuid"
"github.com/labstack/echo/v4"
"github.com/stretchr/testify/assert"
@@ -20,7 +19,7 @@ func TestTriggerExport(t *testing.T) {
rec := httptest.NewRecorder()
ctx := e.NewContext(req, rec)
cons := queryapi.NewControllers(validator.New(), &queryapi.Services{})
cons := queryapi.NewControllers(&queryapi.Services{})
err := cons.TriggerExport(ctx, "clientid")
assert.NoError(t, err)
@@ -34,7 +33,7 @@ func TestExportState(t *testing.T) {
rec := httptest.NewRecorder()
ctx := e.NewContext(req, rec)
cons := queryapi.NewControllers(validator.New(), &queryapi.Services{})
cons := queryapi.NewControllers(&queryapi.Services{})
id := uuid.New()