Drew Powers

Results 459 comments of Drew Powers

Ah that’s really interesting. Does your schema take advantage of the [servers](https://swagger.io/specification/) part of the config? There could be something done with that automatically.

Thanks so much for writing this up. As you’ve probably seen in other issues, there can be interesting challenges presented with complex schema composition, especially with how TypeScript handles unions....

Would love a PR for this! My suggestion is to first write the failing test in `test/transform/schema-object/array.test.ts` for the expected syntax, then get it to pass (without getting the other...

> Is there actually any reason why the types should be ever be mutable? That’s a great question. **Requests** tend to be where readonly structures become cumbersome. Agree for most...

Fixed! Will be available in the next `@next` release.

Ah, hm. I was somewhat afraid this would happen, and did see it come up in one other test failure, but had thought it was fixed. Would gladly welcome any...

This is a great question! It’s the opinion of this library that runtime validation is a bad idea to do in general in JS. In most cases it’s a waste...

Yeah if the API is unreliable almost by design (user control) then I think you do have different concerns than most, and it’s up to you how best to handle...

> Do you see an approach that can work together nicely with openapi-fetch and openapi-typescript? … Is there a good openapi validation library you'd recommend? Not really, because openapi-typescript by...

Thanks for the reproduction! [In your code](https://github.com/MLNW/skeleton-traders/pull/1/files#diff-338e14ba9b4340d0561efd819c1ba5660af9b5f277d376f7e0154cc9e03e6d96R6) the fact that you aren’t explicitly setting the `Authorization` header on `GET` means that it’s not there. Even if you supply a custom...