This major release revamps the build and publishing setup for the RTK Query OpenAPI Codegen, as well as merging numerous PRs from external contributors.
This should resolve many outstanding issues and feature requests.
There were no changes from 2.0.0-alpha.0.
What's Changed
- Update oazapfts to 6.0.2 by @SimonEggert in #4198
- Fix codegen-openapi tests by @aryaemami59 in #4307
- Add "encodeParams" option to rtkq-codegen-openapi by @bayasdev in #4568
- Update oazapfts to 6.1 by @markerikson in #4588
- Feature: Expose HTTP resolver options by @KasimAhmic in #4522
- rtk query code gen: add optional prettierrc override by @FabianFrank in #4041
- support default return schemas in openapi codegen by @barp in #4152
- Create code gen module imports absolute paths by @FabianFrank in #3887
- Update code-generation.mdx SimpleUsage interface by @Tornik73 in #3881
- Perf: Add v3DocCache to generateApi by @d-mon- in #4068
- fix: flattened optional type not optional by @sebws in #4317
- feat: extend endpoint overrides for openapi codegen by @sebws in #4305
- fix: unclear error when run cts config without ts-node in rtk-query-codegen-openapi by @lawvs in #4446
- FIX(4058): operation parameter should override pathItem parameters by @julien-tricent in #4084
- Codegen: add operation name suffix by @georgiev-anton in #3812
- Fix codegen-openapi build output by @aryaemami59 in #4509
- Update Prettier parsers by @markerikson in #4589