Example project demonstrating how to use openapi-typescript and openapi-fetch with Nuxt3.
- 🚀 Type-safe API client with openapi-fetch
- 📝 Automatic TypeScript types generation from OpenAPI schemas
- ⚡ Nuxt3 with Vue 3 Composition API
- 🔧 TypeScript support
# Install dependencies
pnpm install
# Generate TypeScript types from OpenAPI schema
pnpm run generate:types
# Start development server
pnpm run dev
You'll see the server running at localhost:3000
# Development
pnpm run dev
# Build for production
pnpm run build
# Generate TypeScript types from OpenAPI schema
pnpm run generate:types
# Type checking
pnpm run type-check
The project demonstrates type-safe API calls using openapi-fetch with automatically generated TypeScript types from OpenAPI schemas.
We welcome contributions! Please read our Contributing Guidelines before submitting PRs.
MIT