swagger-api

    swagger-api/swagger-ui

    #269 this week

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

    api
    hacktoberfest
    oas
    open-source
    openapi
    openapi-specification
    JavaScript
    Apache-2.0
    29.0K stars
    9.3K forks
    29.0K GitHub watchers
    Updated Oct 3, 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.

    Ranks #269 of 2,841 repositories GStars tracks this week (top 9%).

    5 releases in the last 90 days, the latest 3 days ago, with 390 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 OpenAPI-compliant specifications using HTML, JavaScript, and CSS assets.
    • Provides a visually appealing, user-friendly interface that enables easy exploration and testing of REST APIs without backend implementation.
    • Use for quickly visualizing and testing API endpoints during backend development to improve collaboration between frontend and backend teams.
    • Use for embedding interactive API documentation directly into single-page or React applications to enhance developer experience.
    • Use for serving standalone, dependency-free API documentation on servers or static sites using prebuilt distribution assets.

    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

    Jul 23: +2Jul 24: +6Jul 25: +5Jul 26: +3Jul 27: +1Jul 28: +1Jul 29: +2Sep 18: -47

    +134 stars over 79 days across 15 snapshot days; best day +6 on Jul 24.

    Forks

    9.3K-10

    Open issues

    1.1K-330

    Compared with peers in API

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 4, 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
    NdoleStudio/httpsms6.0K+6737548 days ago
    JoeanAmier/TikTokDownloader16.8K+1807530 days ago
    mrifqidaffaaditya/WA-AKG510+1273118 days ago
    fastapi/fastapi103.0K+0752 days ago
    swagger-api/swagger-ui29.0K+0753 days ago
    BrasilAPI/BrasilAPI11.3K+045—
    Category median11.3K+12775—

    Also by swagger-api

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description