Files
swagger-ui/swagger-ui-dist-package
Roman Bolshakov b23c999d01 packaging: fix swagger-ui-dist entry point
Entry point was missing. This change allows importing SwaggerUIBundle
and SwaggerUIStandalonePreset directly from package. Correct entry point
is also needed for module bundlers like webpack to perform tree-shaking.
2017-05-25 17:45:01 -07:00
..
2017-04-21 18:37:40 -07:00
2017-04-21 18:37:40 -07:00

This module, swagger-ui-dist, exposes Swagger-UIs entire dist folder as a dependency-free npm module. Use swagger-ui instead, if youd like to have npm install dependencies for you.

SwaggerUIBundle and SwaggerUIStandalonePreset can be imported:

  import { SwaggerUIBundle, SwaggerUIStandalonePreset } from 'swagger-ui-dist'

For anything else, check the Swagger-UI repository.