diff --git a/.changeset/warm-scissors-live.md b/.changeset/warm-scissors-live.md new file mode 100644 index 00000000..8df5cb1f --- /dev/null +++ b/.changeset/warm-scissors-live.md @@ -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.