erp-construccion-backend/node_modules/swagger-ui-dist
2026-01-04 06:38:44 -06:00
..
absolute-path.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
favicon-16x16.png Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
favicon-32x32.png Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
index.css Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
index.html Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
index.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
LICENSE Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
log.bundle-sizes.swagger-ui.txt Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
log.es-bundle-core-sizes.swagger-ui.txt Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
log.es-bundle-sizes.swagger-ui.txt Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
NOTICE Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
oauth2-redirect.html Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
oauth2-redirect.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
package.json Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
README.md Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-initializer.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-bundle.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-bundle.js.LICENSE.txt Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-bundle.js.map Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-es-bundle-core.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-es-bundle-core.js.LICENSE.txt Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-es-bundle-core.js.map Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-es-bundle.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-es-bundle.js.LICENSE.txt Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-es-bundle.js.map Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-standalone-preset.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-standalone-preset.js.LICENSE.txt Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui-standalone-preset.js.map Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui.css Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui.css.map Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui.js Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00
swagger-ui.js.map Initial commit - erp-construccion-backend 2026-01-04 06:38:44 -06:00

Swagger UI Dist

NPM version

Anonymized analytics

SwaggerUI Dist uses Scarf to collect anonymized installation analytics. These analytics help support the maintainers of this library and ONLY run during installation. To opt out, you can set the scarfSettings.enabled field to false in your project's package.json:

// package.json
{
  // ...
  "scarfSettings": {
    "enabled": false
  }
  // ...
}

Alternatively, 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.

API

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

SwaggerUIBundle and SwaggerUIStandalonePreset can be imported:

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

To get an absolute path to this directory for static file serving, use the exported getAbsoluteFSPath method:

const swaggerUiAssetPath = require("swagger-ui-dist").getAbsoluteFSPath()

// then instantiate server that serves files from the swaggerUiAssetPath

For anything else, check the Swagger-UI repository.