swr-openapi
CommunityType-safe React data fetching from OpenAPI.
Authorprescottprue
Version1.0.0
Installs0
System Documentation
What problem does it solve?
OpenAPI-based React data fetching with type-safe SWR hooks simplifies building robust client code.
Core Features & Use Cases
- Generate typed hooks and types from OpenAPI schemas using openapi-fetch and openapi-typescript.
- Support multiple API clients with distinct prefixes for clean cache separation.
- Provide end-to-end guidance for setup, usage, and patterns like pagination and mutation in React components.
Quick Start
Install the packages, generate types with openapi-typescript, then create a client and export typed hooks for your API.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: swr-openapi Download link: https://github.com/prescottprue/agent-skills/archive/main.zip#swr-openapi Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.