[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2881":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":41,"discoverSource":42},2881,"swagger-ui","swagger-api\u002Fswagger-ui","swagger-api","Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.","https:\u002F\u002Fswagger.io",null,"JavaScript",28836,9269,618,1277,0,10,59,2,45,"Apache License 2.0",false,"master",true,[26,27,28,29,30,31,32,33,34,35,7,36,37,5],"hacktoberfest","oas","open-source","openapi","openapi-specification","openapi3","openapi31","rest","rest-api","swagger","swagger-js","swagger-oss","2026-06-12 02:00:44","# \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fswagger-api\u002Fswagger.io\u002Fwordpress\u002Fimages\u002Fassets\u002FSWU-logo-clr.png\" width=\"300\">\n\n[![NPM version](https:\u002F\u002Fbadge.fury.io\u002Fjs\u002Fswagger-ui.svg)](http:\u002F\u002Fbadge.fury.io\u002Fjs\u002Fswagger-ui)\n[![Build Status](https:\u002F\u002Fjenkins.swagger.io\u002Fview\u002FOSS%20-%20JavaScript\u002Fjob\u002Foss-swagger-ui-master\u002Fbadge\u002Ficon?subject=jenkins%20build)](https:\u002F\u002Fjenkins.swagger.io\u002Fview\u002FOSS%20-%20JavaScript\u002Fjob\u002Foss-swagger-ui-master\u002F)\n[![npm audit](https:\u002F\u002Fjenkins.swagger.io\u002FbuildStatus\u002Ficon?job=oss-swagger-ui-security-audit&subject=npm%20audit)](https:\u002F\u002Fjenkins.swagger.io\u002Fjob\u002Foss-swagger-ui-security-audit\u002FlastBuild\u002Fconsole)\n[![total GitHub contributors](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcontributors-anon\u002Fswagger-api\u002Fswagger-ui.svg)](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fgraphs\u002Fcontributors)\n\n[![monthly npm installs](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fswagger-ui.svg?label=npm%20downloads)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fswagger-ui)\n![docker registry](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocker-docker.swagger.io%2Fswaggerapi%2Fswagger--ui-blue)\n![monthly packagist installs](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdm\u002Fswagger-api\u002Fswagger-ui.svg?label=packagist%20installs)\n[![gzip size](https:\u002F\u002Fimg.shields.io\u002Fbundlephobia\u002Fminzip\u002Fswagger-ui.svg?label=gzip%20size)](https:\u002F\u002Fbundlephobia.com\u002Fpackage\u002Fswagger-ui)\n\n## Introduction\n[Swagger UI](https:\u002F\u002Fswagger.io\u002Ftools\u002Fswagger-ui\u002F) 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.\n\n## General\n**👉🏼 Want to score an easy open-source contribution?** Check out our [Good first issue](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fissues?q=is%3Aissue+is%3Aopen+label%3A%22Good+first+issue%22) label.\n\n**🕰️ Looking for the older version of Swagger UI?** Refer to the [*2.x* branch](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002F2.x).\n\n\nThis repository publishes three different NPM modules:\n\n* [swagger-ui](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fswagger-ui) is a traditional npm module intended for use in single-page applications that are capable of resolving dependencies (via Webpack, Browserify, etc.).\n* [swagger-ui-dist](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fswagger-ui-dist) is a dependency-free module that includes everything you need to serve Swagger UI in a server-side project, or a single-page application that can't resolve npm module dependencies.\n* [swagger-ui-react](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fswagger-ui-react) is Swagger UI packaged as a React component for use in React applications.\n\nWe 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.\n\nIf you are looking for plain ol' HTML\u002FJS\u002FCSS, [download the latest release](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Freleases\u002Flatest) and copy the contents of the `\u002Fdist` folder to your server.\n\n\n## Compatibility\nThe OpenAPI Specification has undergone 5 revisions since initial creation in 2010.  Compatibility between Swagger UI and the OpenAPI Specification is as follows:\n\n| Swagger UI Version | Release Date | OpenAPI Spec compatibility                                  | Notes                                                                 |\n|--------------------|--------------|-------------------------------------------------------------|-----------------------------------------------------------------------|\n| 5.32.0             | 2026-02-27   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.1, 3.1.2, 3.2.0 | [tag v5.32.0](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv5.32.0) |\n| 5.19.0             | 2025-02-17   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.1, 3.1.2 | [tag v5.19.0](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv5.19.0) |\n| 5.0.0              | 2023-06-12   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0               | [tag v5.0.0](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv5.0.0)   |\n| 4.0.0              | 2021-11-03   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3                      | [tag v4.0.0](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv4.0.0)   |\n| 3.18.3             | 2018-08-03   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3                      | [tag v3.18.3](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv3.18.3) |\n| 3.0.21             | 2017-07-26   | 2.0                                                  | [tag v3.0.21](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv3.0.21) |\n| 2.2.10             | 2017-01-04   | 1.1, 1.2, 2.0                                        | [tag v2.2.10](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv2.2.10) |\n| 2.1.5              | 2016-07-20   | 1.1, 1.2, 2.0                                        | [tag v2.1.5](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv2.1.5)   |\n| 2.0.24             | 2014-09-12   | 1.1, 1.2                                             | [tag v2.0.24](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv2.0.24) |\n| 1.0.13             | 2013-03-08   | 1.1, 1.2                                             | [tag v1.0.13](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv1.0.13) |\n| 1.0.1              | 2011-10-11   | 1.0, 1.1                                             | [tag v1.0.1](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Ftree\u002Fv1.0.1)   |\n\n## Anonymized analytics\n\nSwaggerUI uses [Scarf](https:\u002F\u002Fscarf.sh\u002F) to collect [anonymized installation analytics](https:\u002F\u002Fgithub.com\u002Fscarf-sh\u002Fscarf-js?tab=readme-ov-file#as-a-user-of-a-package-using-scarf-js-what-information-does-scarf-js-send-about-me). These analytics help support the maintainers of this library and ONLY run during installation. To [opt out](https:\u002F\u002Fgithub.com\u002Fscarf-sh\u002Fscarf-js?tab=readme-ov-file#as-a-user-of-a-package-using-scarf-js-how-can-i-opt-out-of-analytics), you can set the `scarfSettings.enabled` field to `false` in your project's `package.json`:\n\n```\n\u002F\u002F package.json\n{\n  \u002F\u002F ...\n  \"scarfSettings\": {\n    \"enabled\": false\n  }\n  \u002F\u002F ...\n}\n```\n\nAlternatively, you can set the environment variable `SCARF_ANALYTICS` to `false` as part of the environment that installs your npm packages, e.g., `SCARF_ANALYTICS=false npm install`.\n\n## Documentation\n\n#### Usage\n- [Installation](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fusage\u002Finstallation.md)\n- [Configuration](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fusage\u002Fconfiguration.md)\n- [CORS](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fusage\u002Fcors.md)\n- [OAuth2](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fusage\u002Foauth2.md)\n- [Deep Linking](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fusage\u002Fdeep-linking.md)\n- [Limitations](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fusage\u002Flimitations.md)\n- [Version detection](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fusage\u002Fversion-detection.md)\n\n#### Customization\n- [Overview](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fcustomization\u002Foverview.md)\n- [Plugin API](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fcustomization\u002Fplugin-api.md)\n- [Custom layout](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fcustomization\u002Fcustom-layout.md)\n\n#### Development\n- [Setting up](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fdevelopment\u002Fsetting-up.md)\n- [Scripts](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002FHEAD\u002Fdocs\u002Fdevelopment\u002Fscripts.md)\n\n#### Contributing\n- [Contributing](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002F.github\u002Fblob\u002FHEAD\u002FCONTRIBUTING.md)\n\n##### Integration Tests\n\nYou will need JDK of version 7 or higher as instructed here\nhttps:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fgetting-started\u002Finstallation.html#install-selenium-server\n\nIntegration tests can be run locally with `npm run e2e` - be sure you aren't running a dev server when testing!\n\n### Browser support\nSwagger UI works in the latest versions of Chrome, Safari, Firefox, and Edge.\n\n### Known Issues\n\nTo help with the migration, here are the currently known issues with 3.X. This list will update regularly, and will not include features that were not implemented in previous versions.\n\n- Only part of the parameters previously supported are available.\n- The JSON Form Editor is not implemented.\n- Support for `collectionFormat` is partial.\n- l10n (translations) is not implemented.\n- Relative path support for external files is not implemented.\n\n## Security contact\n\nPlease disclose any security-related issues or vulnerabilities by emailing [security@swagger.io](mailto:security@swagger.io), instead of using the public issue tracker.\n\n## License\n\nSwaggerUI is licensed under [Apache 2.0 license](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002Fmaster\u002FLICENSE).\nSwaggerUI comes with an explicit [NOTICE](https:\u002F\u002Fgithub.com\u002Fswagger-api\u002Fswagger-ui\u002Fblob\u002Fmaster\u002FNOTICE) file\ncontaining additional legal notices and information.\n","Swagger UI 是一个用于从符合 Swagger 规范的 API 动态生成美观文档的工具集合，主要由 HTML、JavaScript 和 CSS 组成。其核心功能包括自动生成 API 文档并提供交互式界面，支持用户直接在浏览器中测试 API 调用，无需任何后端逻辑支持。基于 OpenAPI（以前称为 Swagger）规范，Swagger UI 使得前后端开发人员能够更轻松地理解和使用 API。它适用于需要清晰展示 RESTful API 接口定义和行为的场景，如内部开发团队协作、API 文档发布等。项目采用 Apache License 2.0 开源许可协议，并提供了多种 npm 模块以适应不同类型的 Web 应用需求。","2026-06-11 02:51:29","top_language"]