The bulkPath() factory in app/config/openapi.js builds the spec entries for 12 entities that go through _bulk-helpers (worker, billingtype, inventoryitem, inventorytransaction, purchaseordervendor, job, invoice, customerpayment, invoicejob, productentry, purchaseorderheader, purchaseorderline). Every one of those endpoints has a 201 response with description + the Idempotency-Replay header but no content block. Same drift pattern as customer/bulk fixed in #332.
The controllers emit {message, count, [bodyKey]: rows}. SDK code-gen sees the response as untyped.
Fix: extend the factory to declare the envelope. All 12 endpoints inherit the fix.
Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/
The
bulkPath()factory inapp/config/openapi.jsbuilds the spec entries for 12 entities that go through_bulk-helpers(worker, billingtype, inventoryitem, inventorytransaction, purchaseordervendor, job, invoice, customerpayment, invoicejob, productentry, purchaseorderheader, purchaseorderline). Every one of those endpoints has a 201 response with description + theIdempotency-Replayheader but nocontentblock. Same drift pattern as customer/bulk fixed in #332.The controllers emit
{message, count, [bodyKey]: rows}. SDK code-gen sees the response as untyped.Fix: extend the factory to declare the envelope. All 12 endpoints inherit the fix.
Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/