Skip to content

Commit

Permalink
chore: added changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Till Schweneker authored and astahmer committed Dec 5, 2023
1 parent a08270a commit 1e1dcd8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-scissors-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"openapi-zod-client": patch
---

When a property from an external json or yaml file starts with a number, e.g. 1st, instead of first, 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.

1 comment on commit 1e1dcd8

@vercel
Copy link

@vercel vercel bot commented on 1e1dcd8 Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.