Drew Powers

Results 462 comments of Drew Powers

See comment on #1631. I think we need a little more discussion / clarification on what this PR is accomplishing, because on first glance it’s not clear. So that’s priority...

Apologies; I dropped off reviewing this PR because it still had failing tests, and it seemed like there was still work to be done. @mellster2012 if we get all the...

I’d be open to this! While it’s still a library goal to have **no runtime**, technically TypeScript enums do have a runtime, so that line has been crossed already, though...

> It would be nice to backport this to 6.x Unfortunately I do not have time in the immediate future to add this, but I would love a PR if...

Yes, in the other issue specified there is a bug. But we can track it there and don’t need this open still.

I think this could be offered as an option. I feel strongly that the default behavior of string unions shouldn’t change, because when data’s coming from an object it’s much...

So I’ve already started planning some big changes to v7 (https://github.com/drwpow/openapi-typescript/discussions/1344) and I think that would make the enum work significantly easier. The major blocker with enums is unlike unions...

Forgot to update this issue: the `--enum` flag [exists in 7.x](https://openapi-ts.pages.dev/cli#flags) and is opt-in. This was just too complex to ship in 6.x. 7.x is still in testing and in...

I have a couple questions: 1. Is `2.x` the correct openapi-typescript version you’re using (not 6.x)? 6.x is recommended for OpenAPI 3 (which isn’t even supported below 5.x) 2. `type:...

Ah if you’re looking to bundle schemas, then you should use the [Redocly CLI bundle command](https://redocly.com/docs/resources/multi-file-definitions/#bundle). That needs to be run before openapi-typescript. I’d welcome an addition to the docs...