Files
zeekay 72ed443d9c client: the invocation moves to the driver, and cpp becomes a row
This repo owned its whole generator invocation and gave two reasons. Both are
gone, so it now owns none of it: `scripts/generate.sh` says "cpp, into this
checkout" and every other fact about how this client is produced is one row in
hanzoai/openapi's sdks.yaml.

TEMPLATES were the first reason — four cpp-restsdk mustache overrides, without
which the library does not compile at all (measured: 8 errors, all in
ModelBase.h). The argument was that a template is a FILE and has to sit beside
the call. That was right about the risk and wrong about which call: the call is
generate.py's emit(), so the overrides move to templates/cpp-restsdk/ in the
driver repo, one directory from the flags they go with. A template in the client
and its flags upstream would have been the two that drift.

THE GENERATOR VERSION was the second, and it was never a fact about cpp-restsdk.
The floor said 7.24.0 because on 7.14.0 ten translation units would not compile
through two defects no template reaches. Both defects were real and both lived
in schemas the document no longer carries — vector_NamedVectors/
vector_DenseVector under additionalProperties, and framework_Document.docstatus.
Re-measured at the locked commit: ignoring blank lines and the generator string
in each header, exactly one of 5327 files differs between 7.14.0 and 7.24.0, and
the difference is a doc comment on ConsoleSettings::getOidcConfig. So this
client is on the fleet's one pin and needs no exception.

The row reproduces the departed script exactly: `generate.py cpp --check`
reports clean against the tree that script produced, byte for byte, 5327 files.
`.generated` is committed because it is what makes that check able to see a
deletion on a fresh clone.
2026-08-14 20:37:14 -07:00
..