Closed tillschweneker closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
openapi-zod-client | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 5, 2023 10:23am |
hey, LGTM ! could you add a test & a changeset ?
@astahmer Done 👍
When a property starts with a number, e.g.
1st
, instead offirst
, the generated Zod-Schema is corrupt.The change in the wrapWithQuotesIfNeeded method makes sure, that any property starting with a number is wrapped in quotes.