Mitchell Merry
Mitchell Merry
Hi, I can confirm that this fix works.
This is a tricky one. Let's take a simplified schema: ```yaml Example: type: object properties: totals: type: number additionalProperties: type: string ``` v6 generates: ```ts Example: { totals?: number; [key:...
I don't think it's currently possible to specify a type `string` except for a particular string. There is an issue open for negated types: https://github.com/microsoft/TypeScript/issues/4196 that would let us do...
Can somebody please provide expected vs actual output here?
Feel free to open a PR
Hi mate, what is the status on this PR? Just ran into this today while running `vispy`
openapi-types: support x- specification extensions everywhere without a pre-existing index signature
Merge conflict resolved, though it looks like you need to approve the build to be run
I notice something similar for something much simpler: ```ts const SomeSchema = z.union([ z.string().uuid(), z.string().email(), z.string().datetime(), ]); SomeSchema.parse('foo'); ``` This only returns the error for whatever is the first schema...