FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

nehemiah/generated/openapi at main · boringcomputers/nehemiah · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Generated OpenAPI wire models

These model-only TypeScript, Python, and Go files are generated from the exported openApiDocument in apps/nehemiah/src/http/openapi.ts. They intentionally contain wire names and types, not transport clients or ergonomic SDK behavior.

Regenerate and check drift from the repository root:

npm -w apps/nehemiah run build
node scripts/openapi-models.mjs
node scripts/openapi-models.mjs --check

Generation requires Node.js 24.19.0 and Go 1.25.0 (gofmt). The generator is deterministic, marks every output as generated, and formats Go through the required pinned Go toolchain. The dedicated wire-contract CI job checks every generated byte, type-checks the TypeScript model with TypeScript, compiles the Python model with Python 3.12.12, and formats/tests the Go model. The control-plane tests additionally resolve all schema references and compare the OpenAPI path inventory with registered public routes without requiring Go on the ordinary Node test runner.

Do not hand-edit typescript/models.ts, python/models.py, or go/models.go.


Back | FazBrowse Home | New Git URL