浏览代码

Add function invocation to method example

bubble
shockey 7 年前
committed by GitHub
父节点
当前提交
5f8ffb870c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      swagger-ui-dist-package/README.md

+ 1
- 1
swagger-ui-dist-package/README.md 查看文件

@@ -14,7 +14,7 @@ Use `swagger-ui` instead, if you'd like to have npm install dependencies for you
To get an absolute path to this directory for static file serving, use the exported `getAbsoluteFSPath` method:

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

// then instantiate server that serves files from the swaggerUiAssetPath
```


正在加载...
取消
保存