All 87 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 27 react-immutable-pure-component ^2.2.0 34 CSS.escape 1.5.1 35 ieee754 ^1.2.1 36 node-xml =1.0.1 36 randombytes ^2.1.0 36 sha.js ^2.4.12 38 Zenscroll ^4.0.2 38 deep-extend 0.6.0 39 base64-js ^1.5.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 rimraf ^6.0.1 42 process ^0.11.10 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 48 react-inspector ^6.0.1 outdated 48 scarf-js =1.4.0 50 React Syntax Highlighter ^16.0.0 50 cors ^2.8.5 53 @svgr/core =8.1.0 53 deepmerge ^4.3.1 54 serialize-error ^8.1.0 outdated 56 classnames ^2.5.1 61 eslint-plugin-prettier ^5.2.3 61 eslint-plugin-react ^7.37.4 61 postcss-loader ^8.1.1 65 html-webpack-plugin ^5.6.3 65 mini-css-extract-plugin ^2.9.2 67 Lodash ^4.18.1 68 eslint-config-prettier ^10.1.1 71 css-loader =7.1.2 outdated 72 babel-loader ^9.2.1 outdated 72 open ^10.1.0 outdated 78 eslint-plugin-import ^2.31.0 78 postcss-preset-env ^10.1.6 outdated 79 node-oauth2-server =5.3.0 80 sass-loader ^16.0.4 outdated 82 body-parser ^1.20.5 outdated 82 js-yaml =4.2.0 outdated 83 start-server-and-test ^2.0.11 outdated 85 Express ^4.22.2 outdated 86 Reselect ^5.1.1 87 Autoprefixer ^10.4.21 89 DOMPurify ^3.4.11 89 immutable-js ^3.x.x outdated 89 jsdom =26.0.0 outdated 89 lint-staged ^15.5.0 outdated 90 Cheerio =1.2.0 90 cssnano =7.0.7 outdated 91 React Redux ^9.2.0 91 Stylelint ^16.19.1 outdated 91 prettier ^3.5.3 92 postcss ^8.5.12 93 Cypress =14.2.0 outdated 93 webpack-cli ^6.0.1 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 swagger-client ^3.37.4 94 webpack-dev-server ^5.2.5 outdated 95 ESLint ^8.57.0 outdated 95 jest =30.4.1 outdated 95 jest =30.4.1 outdated 95 jest =30.4.2 outdated 95 jest =30.4.1 outdated 97 Redux ^5.0.1 97 webpack ^5.97.1 98 React >=16.8.0 <20 98 React ^0.17.0 outdated 98 React DOM >=16.8.0 <20 98 React DOM ^18.3.1 outdated

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