An example showing how to add Swagger UI to your SvelteKit application.
You've probably seen my Medium article on the topic but if you haven't please feel free to check it out at: https://medium.com/@kaloyanmanev/using-swagger-ui-in-sveltekit-app-2202344b3542
Once you've cloned the repo and installed dependencies with npm install
(or pnpm install
or yarn
), start the development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Finally, simply visit http://localhost:5173/swagger-ui