The codegen is now published as `@rtk-query/codegen-openapi` and the code has moved over to [the Redux Toolkit monorepo](https://github.com/reduxjs/redux-toolkit/tree/master/packages/rtk-query-codegen-openapi). As usage has changed as well, please read the documentation. ### Documentation [View the RTK Query Code Generation docs](https://redux-toolkit.js.org/rtk-query/usage/code-generation)