Skip to main content
Version: 2.x ๐Ÿšง

Installation

Before you start using OpenAPI Qraft, you need to install the CLI tool to generate the API client. You also need to install the Qraft Client React package to use the generated API client.

npm install -D @openapi-qraft/cli@next
npm install @openapi-qraft/react@next
Peer Dependency

If you are not already using TanStack Query v5, you need to install it as well:

npm install @tanstack/react-query

Requirements ๐ŸŒดโ€‹

OpenAPI Qraft is compatible with React v18+ and works with ReactDOM and React Native. Browser support is consistent with TanStack Query:

Chrome >= 91
Firefox >= 90
Edge >= 91
Safari >= 15
iOS >= 15
Opera >= 77