openapi-typescript
openapi-typescript copied to clipboard
Generate TypeScript types from OpenAPI 3 specs
**Description** Basically - types are getting a `NonNullable` somewhere and I believe they shouldn't **Reproduction** This was tested on version 0.9.3 ``` type TestPaths = { '/v1/test': { /** @description...
## Changes Fix for https://github.com/drwpow/openapi-typescript/issues/1631 ## How to Review _How can a reviewer review your changes? What should be kept in mind for this review?_ ## Checklist - [x] Unit...
**Description** Something in the changes in 0.9.4 causes NodeNext module resolution to fail. https://github.com/drwpow/openapi-typescript/discussions/1634 **Reproduction** Node.js side, but build time so no reason browser wouldn't also be affected. I can't...
## background In #1122 we discussed that resend request in middleware, it's hard to do that in current middleware design. But things like refresh token in real production, this is...
**Description** My app has an API that is per tenant, so I end up having to create a client every time I need to call the API, since the baseUrl...
Say your endpoint returned entirely different shapes for `200`, `201`, `404`, and `500` responses. The current version of this library would assign `data` to `200`, and `error` to `500`, while...
**Description** What is the recommended way of using this lib with a swagger frontend? or have I missed the point of this entirely? Thanks for the cool project!
**Description** v0.9.3, 0.9.x Need a way to disable certification validation via a client option, as the fetch function needs to be replaced in order to make setGlobalDispatcher work, and the...
**Description** Currently, objects such as the Info Object and Server Object get ignored. I've written a set of PoC transformers that allows them to be generated into exported declarations like...
**Description** This library is super helpful. I'm looking to essentially pass in all options in one shot vs. creating the client, specifying the method, and then the path, as the...