openapi-typescript
openapi-typescript copied to clipboard
Generate TypeScript types from OpenAPI 3 specs
### openapi-typescript version 7.6.1 ### Node.js version 22.11.0 ### OS + version macOS 14.6.1 ### Description the generated JSDoc comment does not include the descriptions from the nested schemas with...
To my understanding, if one has multiple protected routes, say `/auth/*`, which are specified in the schema and require an Authorization header, currently it is required to set the header...
### openapi-typescript version 7.6.1 ### Node.js version v20.17.0 ### OS + version Arch Linux ### Description   ``` export interface components { schemas: { BatchMappingItemRequest: { data: { /**...
### openapi-typescript version 7.6.1 ### Node.js version v20.17.0 ### OS + version Arch Linux ### Description   ```ts export interface operations { "mapping.configurations.index": { parameters: { query?: { sort_key?:...
### Description Currently when you generate the types with the below configuration, you'll also generate the accompanying enums. However, when some of the enums are marked as deprecated in the...
**Description** Typescript with `"moduleResolution": "node16"` will generate an error when trying to import the module from a cjs file. ``` Could not find a declaration file for module 'openapi-typescript'. '/node_modules/openapi-typescript/dist/index.cjs'...
### Description Hey, I would like to make a request to the community here to officially support a typed axios along side fetch, I actually prefer fetch over axios in...
### openapi-typescript version 7.6.0 ### Node.js version 20.17.0 ### OS + version Arch Linux ### Description openapi 3.1 json: ``` { "name": "metrics", "in": "query", "required": true, "schema": { "type":...
### openapi-typescript version 7.5.2 ### Node.js version 20.11.0 ### OS + version Fedora Linux 41 ### Description after executing the tool with `--root-types --root-types-no-schema-prefix --enum` flags (since types are required...
### openapi-typescript version 7.5.2 ### Node.js version 22.12.0 ### OS + version Debian GNU/Linux 12 (bookworm) ### Description If I have multiple `$ref` in my operations schema like this: ```yaml...