When Codegen Ignores format: uuid, email, and uri and Gives You a Plain String
Why codegen turns format hints into plain strings and how to validate UUIDs, emails, and URIs yourself.
Why codegen turns format hints into plain strings and how to validate UUIDs, emails, and URIs yourself.
Quick guidance on codegen for binary downloads: streaming a file response instead of decoding it as text.
Generated Clients and Error Responses: Typing 4xx/5xx Bodies Instead of Throwing Blind — a practical, contract-based look at the failure mode and how to handle it.
How generators handle circular OpenAPI references, where they fall back to any, and how to validate recursive output.
readOnly and writeOnly let a generator split response and request models; collapsed create models force clients to fake server-owned fields.
Model oneOf with an explicit discriminator and tag, inspect the generated type, and accept only a tagged union; contain flattening generators at a narrowing boundary.