All checks were successful
continuous-integration/drone/push Build is passing
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.
8 lines
193 B
YAML
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
|