cool-admin-midway/public/swagger
2023-11-18 20:42:16 +08:00
..
absolute-path.js 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
favicon-16x16.png 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
favicon-32x32.png 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
index.css 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
index.html 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
index.js 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
LICENSE 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
NOTICE 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
oauth2-redirect.html 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
package.json 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
README.md 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
swagger-initializer.js 集成swagger,自动生成文档 2023-11-18 20:42:16 +08:00
swagger-ui-bundle.js 集成swagger,自动生成文档 2023-11-18 20:42:16 +08:00
swagger-ui-bundle.js.map 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
swagger-ui-es-bundle-core.js 集成swagger,自动生成文档 2023-11-18 20:42:16 +08:00
swagger-ui-es-bundle-core.js.map 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
swagger-ui-es-bundle.js 集成swagger,自动生成文档 2023-11-18 20:42:16 +08:00
swagger-ui-es-bundle.js.map 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
swagger-ui-standalone-preset.js 集成swagger,自动生成文档 2023-11-18 20:42:16 +08:00
swagger-ui-standalone-preset.js.map 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
swagger-ui.css 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
swagger-ui.css.map 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00
swagger-ui.js 集成swagger,自动生成文档 2023-11-18 20:42:16 +08:00
swagger-ui.js.map 集成swagger,优化部分内容 2023-11-18 15:37:31 +08:00

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.