NEXT.JS + HTMLDOCS

Template-driven document API

Each template defines its own context schema and renders through the htmldocs renderer. Routes and OpenAPI definitions are generated from those templates automatically.

API routes

Templates

common/receipt

Receipt

Minimal receipt document with billed customer, items, and totals, grouped under the 'common' domain.

Domain path: common / Receipt

medical_travel/order

Cerere asigurare sănătate – călătorii

Cerere pentru asigurare de sănătate în străinătate (medical travel order).

Domain path: medical_travel / Order