From 5b694252036ef1e1d75470eb4d6797974d568ced Mon Sep 17 00:00:00 2001 From: minaelee Date: Thu, 21 Dec 2023 22:39:26 -0700 Subject: [PATCH] Update requite syntax to match example Update provided require syntax to be consistent with the example given at the bottom of the page that uses more up-to-date JS syntax. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d61a42..44de97e 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ or using [yarn](https://yarnpkg.com) Then require it in your code: ```js -var OpenAPISampler = require('openapi-sampler'); +const OpenAPISampler = require('.'); ``` ## Usage