Skip to main content

Export: HTML

Generates a standalone HTML page documenting the data contract.

datacontract export html orders.odcs.yaml --output orders.html

Running this against the example orders contract produces a single orders.html file that renders the following (the diagram's scripts load from a CDN):

  • the contract metadata (name, version, status, description),
  • each schema (orders, line_items) as a table of fields with their types, constraints, and descriptions,
  • the configured servers, quality checks, and service-level properties.

Open the file in any browser or publish it as static documentation.

All options: datacontract export html.