openapi-typescript-codegen
openapi-typescript-codegen copied to clipboard
NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
I'd like a flag that causes deprecated properties to be excluded from the generated types. The use-case would be when you need to keep a property around in the API...
Introduce new enum style ```json { "EnumViaOneOfNumeric": { "description": "OpenApi 3.1 style numeric enum", "type": "integer", "oneOf": [ { "const": 0, "title": "SUCCESS", "description": "Success" }, { "const": 1, "title":...
Bumps [@types/glob](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/glob) from 7.2.0 to 8.0.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together. Updates `jest` from 28.1.3 to 29.0.3 Release notes Sourced from jest's releases. v29.0.3 Features [@jest/environment, jest-runtime] Allow passing a...
**Describe the bug** Error in type generation due to reserved word `interface`: ``` { "openapi": "3.0.0", "info": { "version": "1.0.0" }, "components": { "schemas": { "interface": { "type": "object" }...
Hi, I love this tool! Is it possible to generate the models as classes and not types? This is what I currently have:  This is what I would like:...
**Describe the solution you'd like** A clear and concise description of what you want to happen. Ideally with a small example of the proposed changes. Same as https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1024 - is...
Introducing a simple, yet dynamic solution to conquer issue #1268 with unparalleled flexibility! 🚀🌟 # Overriding Built-In Templates The parameter `templateOverrides` allows the override of *any* template or partial with...
https://github.com/nicolas-chaulet/openapi-typescript-codegen