From 5f8ffb870ceb2eb267c296f1808a43c629676566 Mon Sep 17 00:00:00 2001 From: shockey Date: Mon, 12 Jun 2017 23:14:00 -0700 Subject: [PATCH] Add function invocation to method example --- swagger-ui-dist-package/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swagger-ui-dist-package/README.md b/swagger-ui-dist-package/README.md index 3737c8ae..66284227 100644 --- a/swagger-ui-dist-package/README.md +++ b/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 ```