Drew Powers

Results 459 comments of Drew Powers

With the Slack schema, Swagger 2.0 is no longer supported with more recent versions of `openapi-typescript`. We can push security patches to 5.x and older versions, but not introducing breaking...

You’ve described how the internals should change, but I’d love to see this from the perspective of the end-user. What code do they write? What does the API look like?...

> It mainly solves the issue here [#1122 (comment)](https://github.com/drwpow/openapi-typescript/issues/1122#issuecomment-1952298096) , user can use it to resend some request in middleware like this. Ah I see. You’re right, I haven’t explicitly...

Thanks for putting this together! Overall I’m (still) in favor of supporting these, even if for no other reasons to support parity with Figma, which is one of the most...

> I recognize this is something of a departure from the core philosophy of this package; it's nice to have such a thin run-time, and not have to traverse+transform any...

Going to start exploring this this week. Ideally it involves a third-party library that’s better at this than handrolling something (and is swappable if people don’t like it). I have...

I think the `oneOf` on the array is throwing it off—since `oneOf` is mutually exclusive, it can’t easily coexist with other properties (or at least, it’s unclear how the original...

Ah I got it backwards—it’s your **items** that are polymorphic and not the top-level property. I’m not too familiar with that Java library you’re using, but you’ll need to have...

So if we adjusted your original code, this is how it should look: ```diff "SomeResponseObject": { "type": "object", "properties": { "page": { "format": "int64", "type": "integer" }, "pages": { "format":...

Ah glad to see they are fixing it! In the upcoming `0.9.0` (which will likely have some very minor breakages), I decided to remove all internal `response.clone()`-ing because it can...