在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):darosh/angular-swagger-ui-material开源软件地址(OpenSource Url):https://github.com/darosh/angular-swagger-ui-material开源编程语言(OpenSource Language):JavaScript 62.9%开源软件介绍(OpenSource Introduction):angular-swagger-ui-materialAbandoned in favor of OpenAPI Specification Explorer! Material Design DemoChrome browser should work. Main demos
Development demos
Features
Search
PluginsSee src/plugins. ReferenceDevelopmentInstall npm install -g bower gulp
bower install
npm install Rebuild http-data.js
Rebuild swagger-gfm.json
Build dist gulp Build demo gulp demo Deploy demo gulp deploy TODOs
UsageLoopBack with loopback-component-explorerpackage.json angular-swagger-ui-material is not published in npm, so we use napa instead {
"dependencies": {
"loopback-component-explorer": "^2.4.0",
"napa": "^2.3.0"
},
"napa": {
"angular-swagger-ui-material": "darosh/angular-swagger-ui-material"
},
"napa-config": {
"cache": false,
"cache-path": "./.napa-cache",
"log-level": "error"
},
"scripts": {
"install": "napa"
}
} server/server.json var loopback = require('loopback');
var explorer = require('loopback-component-explorer');
var app = module.exports = loopback();
explorer(app, {
basePath: '/api',
uiDirs: [
require('angular-swagger-ui-material').dist
]
}); |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论