https://github.com/matteopolak/redoc-svelte
Swagger-generated API documentation for Svelte.
https://github.com/matteopolak/redoc-svelte
openapi redoc svelte sveltekit swagger
Last synced: 5 months ago
JSON representation
Swagger-generated API documentation for Svelte.
- Host: GitHub
- URL: https://github.com/matteopolak/redoc-svelte
- Owner: matteopolak
- License: mit
- Created: 2023-12-16T19:14:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T00:30:03.000Z (about 2 years ago)
- Last Synced: 2025-06-25T20:05:01.717Z (6 months ago)
- Topics: openapi, redoc, svelte, sveltekit, swagger
- Language: Svelte
- Homepage: https://redoc-svelte.pages.dev
- Size: 71.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redoc Svelte
[](https://www.npmjs.com/package/redoc-svelte) [](https://github.com/matteopolak/redoc-svelte/blob/main/LICENSE)
A drop-in [Svelte](https://svelte.dev) component for [Redoc](https://redocly.com).
```bash
pnpm add redoc-svelte
yarn add redoc-svelte
npm install redoc-svelte
```
> [!IMPORTANT]
> `redoc-svelte` is not compatible with SvelteKit v1, please use v2 instead.
## Usage
For more examples, see the [Redoc documentation](https://redocly.com/docs/redoc/deployment/react/).
```svelte
import { RedocStandalone } from 'redoc-svelte';
console.log('loaded', e?.detail)}
/>
```
## License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.