openapi-bundle

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Command openapi-bundle merges the api/src/<service>/*.yaml fragments into api/<service>.openapi.yaml (make bundle).

Role

Command, with the repository tooling under tools/: not part of the server binary, and it keeps its path through the modular-monolith migration. The merging itself is internal/devtools/openapibundle; make generate runs the bundle before it generates code.

Inputs

  • The fragment directory, one sub-directory per service (-src, api/src by default).

Outputs

  • One bundled document per service in the output directory (-out, api by default), and a line per service on standard output.

References

  • Decision 0002: docs/research/decisions/0002-spec-first-flat-crud-handwritten-item-paths.md.
  • docs/implementation/api-description-conventions.md.
  • Plan: docs/implementation/plan.md#p1-data-model-and-api-schemas, task 3.

Status

Implemented P1 and P1b (any number of services).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL