Merged in jb/openapi (pull request #22)

add openapi infra

* add openapi infra

Includes generated stubs and all deps

* generatetolocation

* basesetupoffunctionsandclient

* round1controllertests

* passintegrationtests

* cleanupfromfullsuite

* storedjson

* fixjsonyaml

* fixtests


Approved-by: Michael McGuinness
This commit is contained in:
Jay Brown
2025-01-15 19:45:51 +00:00
committed by Michael McGuinness
parent 5ca36b0502
commit 174644b63c
443 changed files with 78766 additions and 2119 deletions
+27
View File
@@ -0,0 +1,27 @@
package queryservice
import (
"queryorchestration/internal/collector"
"queryorchestration/internal/export"
"queryorchestration/internal/query"
"github.com/go-playground/validator/v10"
)
type Services struct {
Export *export.Service
JobCollector *collector.Service
Query *query.Service
}
type Controllers struct {
validator *validator.Validate
svc *Services
}
func NewControllers(validator *validator.Validate, services *Services) *Controllers {
return &Controllers{
validator: validator,
svc: services,
}
}