Skip to content

Maintain the generated API

Commands, models, and TypedDicts are generated from official and Tapir schemas. Change their source or generation pipeline, then regenerate. Do not repair a generated file by hand: the next generation run would overwrite the change.

The code-generation brief is the authoritative workflow. It covers entry points, schema snapshots, local patches, compatibility aliases, response contracts, and validation.

Need Read
Audit or regenerate the pinned schema and clients Generation brief
Understand active upstream patches and retirement gates Schema-patch tracking
Inspect release-specific decisions and evidence Generation reports
Inspect upstream schema review records Upstream reports
Understand default-serialization work Serialization plan

Keep short contributor instructions here and detailed generation evidence beside the pipeline. An implementation plan or older test baseline is not the public API contract. Confirm current behavior in source and tests before updating a guide.

Generated API documentation should extract signatures, descriptions, types, and defaults from the same maintained sources. Correct missing descriptions in the schema or generator so editor hints and reference pages stay consistent.