All 86 Dependencies

Every package swagger-ui depends on, ranked by repo health score.

Swagger UI converts OpenAPI (formerly Swagger) Specification files into a rich, interactive web interface that lets anyone — developers, QA engineers, or end users — visualize and exercise an API without writing a single line of client code. By pointing it at a spec URL or file, teams instantly get browsable endpoint documentation with inline request forms, live response inspection, and authentication flows.

The project ships as three distinct npm packages to cover different integration scenarios: `swagger-ui` for Webpack/Browserify single-page applications, `swagger-ui-dist` as a self-contained bundle for server-side or static deployments, and `swagger-ui-react` as a first-class React component. All three are backed by the same core system built on Redux with ImmutableJS state, a plugin-injection architecture, and pluggable layout support.

Swagger UI supports OpenAPI 2.0, 3.0.x, 3.1.x, and the newly introduced 3.2.0 specification, with dedicated plugin layers for each major revision. The JSON Schema 2020-12 support lands as a separate plugin that renders every keyword — `allOf`, `anyOf`, `oneOf`, `if/then/else`, `unevaluatedProperties`, and more — as an interactive UI element aware of schema semantics. Dark mode, deep linking, request snippet generation, syntax highlighting, OAuth2 flows, and a safe-render error-boundary system are all implemented as first-class, replaceable plugins.

Originally created by SmartBear Software and now part of the OpenAPI Initiative ecosystem, Swagger UI has become the de-facto standard for API documentation presentation, with hundreds of millions of npm downloads and active Docker images. The project is actively maintained with a release cadence averaging two-plus releases per month.

22 xml-but-prettier ^1.0.1 28 react-immutable-pure-component ^2.2.0 33 CSS.escape 1.5.1 35 ieee754 ^1.2.1 36 randombytes ^2.1.0 36 sha.js ^2.4.12 36 node-xml =1.0.1 38 deep-extend 0.6.0 38 Zenscroll ^4.0.2 39 base64-js ^1.5.1 39 deepmerge ^4.3.1 39 react-immutable-proptypes 2.2.0 39 url-parse ^1.5.10 40 dedent ^1.6.0 40 prop-types ^15.8.1 40 stream-browserify ^3.0.0 41 babel-plugin-module-resolver =5.0.2 outdated 41 react-debounce-input =3.3.0 41 serialize-error ^8.1.0 outdated 42 process ^0.11.10 42 rimraf ^6.0.1 43 js-file-download ^0.4.12 43 redux-immutable ^4.0.0 44 buffer ^6.0.3 44 randexp.js ^0.5.3 44 react-copy-to-clipboard 5.1.1 46 npm-run-all ^4.1.5 47 cross-env =7.0.3 outdated 47 remarkable ^2.0.1 49 react-inspector ^6.0.1 outdated 50 scarf-js =1.4.0 50 React Syntax Highlighter ^16.0.0 51 cors ^2.8.5 58 classnames ^2.5.1 63 eslint-plugin-react ^7.37.4 63 html-webpack-plugin ^5.6.3 64 eslint-plugin-prettier ^5.2.3 64 postcss-loader ^8.1.1 67 mini-css-extract-plugin ^2.9.2 68 Lodash ^4.18.1 68 open ^10.1.0 outdated 69 eslint-config-prettier ^10.1.1 73 css-loader =7.1.2 outdated 74 babel-loader ^9.2.1 outdated 78 postcss-preset-env ^10.1.6 outdated 81 js-yaml =4.2.0 outdated 81 sass-loader ^16.0.4 outdated 83 eslint-plugin-import ^2.31.0 84 node-oauth2-server =5.3.0 85 body-parser ^1.20.5 outdated 85 start-server-and-test ^2.0.11 outdated 86 Autoprefixer ^10.4.21 86 Express ^4.22.2 outdated 87 Reselect ^5.1.1 89 Cheerio =1.2.0 89 lint-staged ^15.5.0 outdated 90 cssnano =7.0.7 outdated 90 DOMPurify ^3.4.11 90 prettier ^3.5.3 90 Stylelint ^16.19.1 outdated 92 immutable-js ^3.x.x outdated 92 jsdom =26.0.0 outdated 92 postcss ^8.5.12 92 React Redux ^9.2.0 93 Cypress =14.2.0 outdated 93 Redux ^5.0.1 93 webpack-cli ^6.0.1 outdated 93 webpack-dev-server ^5.2.5 outdated 94 @babel/core =7.29.6 outdated 94 @babel/core =7.26.10 outdated 94 @babel/core =7.26.10 outdated 94 @babel/core =7.27.2 outdated 94 @babel/core =7.26.3 outdated 94 @babel/core =7.27.1 outdated 94 @babel/core ^7.27.1 outdated 94 jest =30.4.1 outdated 94 ESLint ^8.57.0 outdated 94 jest =30.4.1 outdated 94 jest =30.4.2 outdated 94 jest =30.4.1 outdated 94 swagger-client ^3.37.4 97 React >=16.8.0 <20 97 React DOM >=16.8.0 <20 97 React ^0.17.0 outdated 97 React DOM ^18.3.1 outdated 97 webpack ^5.97.1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search