Essentials
Essentials
This section covers the essential configuration and usage patterns for SvelteKit Auto OpenAPI.
Configuration
Learn how to configure the three main modules:
- Plugin Configuration - Configure the Vite plugin for schema generation
- Schema Validation Hook - Set up runtime validation
- Scalar Module - Configure API documentation
Usage
Learn how to use SvelteKit Auto OpenAPI in your routes:
- Automatic (AST Inference) - Let the library infer schemas from your types
- Advanced (_config RouteConfig) - Add validation schemas and detailed documentation
On this page