{"id":14360943,"url":"https://github.com/lukefernandez/vite-swagger-ui","last_synced_at":"2025-08-22T02:33:04.081Z","repository":{"id":250777306,"uuid":"834314349","full_name":"lukefernandez/vite-swagger-ui","owner":"lukefernandez","description":"Swagger UI powered by Vite with built-in support for multiple APIs.","archived":false,"fork":false,"pushed_at":"2024-07-30T18:27:47.000Z","size":389,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-20T07:36:14.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukefernandez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-26T23:20:00.000Z","updated_at":"2024-11-23T18:33:47.000Z","dependencies_parsed_at":"2024-07-30T03:17:12.585Z","dependency_job_id":"c66d8540-4751-454b-8086-5da9ac69bb6c","html_url":"https://github.com/lukefernandez/vite-swagger-ui","commit_stats":null,"previous_names":["lukefernandez/vite-swagger-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lukefernandez/vite-swagger-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukefernandez%2Fvite-swagger-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukefernandez%2Fvite-swagger-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukefernandez%2Fvite-swagger-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukefernandez%2Fvite-swagger-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukefernandez","download_url":"https://codeload.github.com/lukefernandez/vite-swagger-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukefernandez%2Fvite-swagger-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271575940,"owners_count":24783633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-27T16:00:54.293Z","updated_at":"2025-08-22T02:33:03.772Z","avatar_url":"https://github.com/lukefernandez.png","language":"TypeScript","funding_links":[],"categories":["Get Started"],"sub_categories":["Templates"],"readme":"# vite-swagger-ui\n\n\u003e Swagger UI powered by Vite with built-in support for multiple APIs.\n\n## What this is\n\nIt's hard to beat Swagger UI when looking for a free way to visualize and interact with your OpenAPI APIs.\n\nIt is not trivial, though, to deploy Swagger UI or configure it to support multiple APIs.\n\nThis project changes that and pre-configures Vite and Swagger UI for you. Just bring your spec files and run.\n\n## How to use it\n\n1. Clone this repo\n\n```bash\ngit clone https://github.com/lukefernandez/vite-swagger-ui.git\n```\n\n2. Install dependencies\n\n```bash\ncd vite-swagger-ui\npnpm install\n```\n\n3. Configure the `urls` array in `src/main.ts` to point to your JSON and/or YAML API spec files. Two examples are included that reference specs in the `public/specs/` directory.\n\n4. Deploy and view as you would any other Vite project. Toggle between APIs using the dropdown at the top right of the page.\n\n```bash\n# Run development server\npnpm run dev\n\n# Or build for production and preview\npnpm run build\npnpm run preview\n```\n\n## Demo\n\n![Demo](./demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukefernandez%2Fvite-swagger-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukefernandez%2Fvite-swagger-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukefernandez%2Fvite-swagger-ui/lists"}