Overview of nuxt-open-fetch
mainnuxt-open-fetch is a Nuxt module designed to generate zero-overhead, 100% typed OpenAPI fetch clients. It allows developers to consume OpenAPI schemas with full type safety for all parameters, request bodies, and responses.
Key features include:
- Full Type Safety: All request and response properties match your schema.
- OpenAPI Support: Supports OpenAPI 3.0 and 3.1, including advanced features like discriminators.
- Flexible Schema Loading: Load schemas from YAML or JSON, either locally or remotely.
- Runtime-free: Generates types that outperform traditional code generation without adding runtime overhead.
- High Performance: Generates types for large schemas in milliseconds.
- Nuxt Layers Support: Fully compatible with Nuxt Layers.