swagger-api

    swagger-api/swagger-ui

    Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

    29.1K stars
    9.2K forks
    29.1K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 2 days ago, with 389 contributors on GitHub.

    Peaked at #63 in the weekly ranking the week of Jul 26, its best in the past year.

    Use Cases & Benefits

    • Generates interactive API documentation dynamically from Swagger/OpenAPI specifications using HTML, JavaScript, and CSS assets.
    • Provides a visually appealing, easy-to-use interface that enables developers and consumers to explore and test APIs without backend implementation.
    • Use for quickly creating live API documentation for RESTful services to improve developer onboarding and collaboration.
    • Use for embedding API documentation as a React component in modern web applications to maintain consistency and interactivity.
    • Use for serving standalone, dependency-free API docs in server-side projects or static sites without complex build tools.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Swagger UI allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, with the visual documentation making it easy for back end implementation and client side consumption.

    👉🏼 Want to score an easy open-source contribution? Check out our Good first issue label.

    🕰️ Looking for the older version of Swagger UI? Refer to the 2.x branch.

    This repository publishes three different NPM modules:

    We strongly suggest that you use swagger-ui instead of swagger-ui-dist if you're building a single-page application, since swagger-ui-dist is significantly larger.

    If you are looking for plain ol' HTML/JS/CSS, download the latest release and copy the contents of the /dist folder to your server.

    Excerpt from the swagger-api/swagger-ui README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 18: -47

    +107 stars over 84 days across 8 snapshot days.

    Forks

    9.2K-18

    Open issues

    1.2K-310

    Compared with peers in API

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    swagger-api/swagger-ui compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/claude-quickstarts20.5K+73375—
    vxcontrol/pentagi33.9K+7197536 days ago
    N4darae/shrt2.6K+5298—
    agentgateway/agentgateway6.1K+1877514 days ago
    swagger-api/swagger-ui29.1K—602 days ago
    BenedictKing/ccx4.0K—32117 days ago
    Category median6.1K+62475—

    Also by swagger-api

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description