Skip to content

Commit

Permalink
Add function invocation to method example
Browse files Browse the repository at this point in the history
  • Loading branch information
shockey authored Jun 13, 2017
1 parent 3311f3e commit 5f8ffb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger-ui-dist-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 5f8ffb8

Please sign in to comment.