Downloads
Spec, SDKs, templates — every deliverable, downloadable
Everything on this page regenerates from the same OpenAPI spec. If you only grab one file, take the YAML — it's the source every other artifact was built from.
API specification
OpenAPI 3.1 (YAML)
.yamlSource of truth. Feed it into your own generator, lint with Spectral, import into Postman or Insomnia.
Download →
OpenAPI 3.1 (JSON)
.jsonSame spec, JSON-encoded. Better for build tools that don't read YAML.
Download →
Postman collection
.jsonDrop into Postman / Insomnia / Bruno. Includes every endpoint with example bodies. Set Authorization: Bearer docgen_… as a collection-level header.
Download →
API reference (PDF)
.pdfPrint-ready PDF of the full reference, rendered from the Scalar view. Pre-rendered so you don't have to print the docs site yourself.
Download →
SDK source archives v0.5.0
TypeScript SDK
Dual ESM + CJS. Node 18+. Published to npm.
npm i @philiprehberger/docgen
PHP SDK
PSR-4 namespaced. PHP 8.2+. Published to Packagist.
composer require philiprehberger/docgen
Python SDK
urllib3-based, pydantic v2. Python 3.9+. Published to PyPI.
pip install philiprehberger-docgen
Reference templates
Invoice template
Northcliffe Legal → Ridgeline Supply. HTML+Twig source, renders to PDF + DOCX with matched fidelity.
Download .twig →
Offer-letter template
Beacon Academy hire. Single-column layout, DOCX-friendly.
Download .twig →
Certificate template
Beacon Academy graduate. PDF-first; landscape, ornamental borders, flex layout.
Download .twig →
Regenerate locally? Clone the repo and run npm run sdk:generate to rebuild SDK source from the spec, then npm run sdk:zip to produce the archives. Every artifact on this page is reproducible from openapi/spec.yaml.