OpenApi_MezontleTeam/openApiMT/node_modules/swagger-ui-dist
03jossellin-herrera-rodriguez 19fe8fed6e Descripcion api 2024-05-27 11:07:27 -06:00
..
LICENSE Descripcion api 2024-05-27 11:07:27 -06:00
NOTICE Descripcion api 2024-05-27 11:07:27 -06:00
README.md Descripcion api 2024-05-27 11:07:27 -06:00
absolute-path.js Descripcion api 2024-05-27 11:07:27 -06:00
favicon-16x16.png Descripcion api 2024-05-27 11:07:27 -06:00
favicon-32x32.png Descripcion api 2024-05-27 11:07:27 -06:00
index.css Descripcion api 2024-05-27 11:07:27 -06:00
index.html Descripcion api 2024-05-27 11:07:27 -06:00
index.js Descripcion api 2024-05-27 11:07:27 -06:00
oauth2-redirect.html Descripcion api 2024-05-27 11:07:27 -06:00
package.json Descripcion api 2024-05-27 11:07:27 -06:00
swagger-initializer.js Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-bundle.js Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-bundle.js.map Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-es-bundle-core.js Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-es-bundle-core.js.map Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-es-bundle.js Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-es-bundle.js.map Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-standalone-preset.js Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui-standalone-preset.js.map Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui.css Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui.css.map Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui.js Descripcion api 2024-05-27 11:07:27 -06:00
swagger-ui.js.map Descripcion api 2024-05-27 11:07:27 -06:00

README.md

Swagger UI Dist

NPM version

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.