Skip to content

Releases: openapi-ts/openapi-typescript

Fix Nested array generation

28 Aug 21:33
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fix nested arrays (#54)

nowrapper CLI option

05 Aug 18:05
Compare
Choose a tag to compare

🐣Minor changes

  • The --nowrapper flag was added to the CLI, courtesy of @scvnathan (#33). Now you don’t have to wrap your interfaces if you don’t want to!

Fix underscores in interfaces

18 Jul 21:41
Compare
Choose a tag to compare

🐛 Bugfixes

  • This fixes underscores from accidentally appearing in some TypeScript interface names (#29)

kebab-case support

12 Jun 15:48
62d635f
Compare
Choose a tag to compare

🐛 Bugfixes

  • Swagger properties in kebab-case would break generation unless they were converted to --camelcase (#13). This has been fixed! 🎉 You still have the option of converting to --camelcase, but now you can keep kebab-case too if needed

Wrapper support

11 Jun 21:23
2dc048d
Compare
Choose a tag to compare

🦍 Major changes

  • Adds --wrapper option, letting you specify any namespace or module wrapper for exporting types. See the README for full description

⚠️ Breaking changes

  • --namespace and --export options are now deprecated, in favor of the more versatile --wrapper

Export namespaces

19 Apr 01:37
9ee11b4
Compare
Choose a tag to compare

🐣 Minor changes

  • Now supports an --export option to export namespaces thanks to @tpdewolf

v1.1.2

25 Mar 14:27
Compare
Choose a tag to compare

🐛 Bugfixes

  • No longer generates empty interfaces (caused by top-level definitions being array types, referencing other definitions)

v1.1.1

19 Mar 21:54
Compare
Choose a tag to compare

🐣 Minor changes

  • Improves enum generation to be simpler-to-use (values are now just hardcoded inline, rather than trying to use TypeScript enums).

v1.1.0

19 Mar 19:56
Compare
Choose a tag to compare

🦍 Major changes

  • Changes default behavior to preserve snake_case properties (you can still convert with --camelcase)

🐣 Minor changes

Handle object types

18 Dec 20:52
Compare
Choose a tag to compare

🐛Bugfixes

  • Falls back to object if it can’t grab properties