Generates a Swagger UI and API client based on your SvelteKit API endpoints in +server.ts files
The project aims to provide type-safety for SvelteKit’s API endpoints by generating an OpenAPI schema and Swagger UI. It also generates a type-safe client library for the API. The project uses a Vite plugin to achieve this functionality. It is currently in the early stages of development and not ready for production use.
To install the plugin, follow these steps:
+server.ts files in your SvelteKit project.vite.config.ts file.The project provides type-safety for SvelteKit’s API endpoints by generating an OpenAPI schema and Swagger UI. It also generates a type-safe client library for the API. The project is still in development and not ready for production use. Contributions are welcome.