happyDeliver/api/config-server.yaml
Pierre-Olivier Mercier 396c51974a
All checks were successful
continuous-integration/drone/push Build is passing
Extract OpenAPI schemas to separate file and move models to internal/model package
Split api/openapi.yaml schemas into api/schemas.yaml so structs can be
generated independently from the API server code. Models now generate
into internal/model/ via oapi-codegen, with the server referencing them
through import-mapping. Moved PtrTo helper to internal/utils and removed
storage.ReportSummary in favor of model.TestSummary.
2026-04-09 18:36:27 +07:00

8 lines
193 B
YAML

package: api
generate:
gin-server: true
models: true
embedded-spec: true
output: internal/api/server.gen.go
import-mapping:
./schemas.yaml: git.happydns.org/happyDeliver/internal/model