From c679f1fb5cec32cfefab42aa4901b70e82a4e599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Csik=C3=B3s?= <61376206+pacsinta@users.noreply.github.com> Date: Tue, 29 Nov 2022 18:15:55 +0000 Subject: [PATCH] Fixed readme exmple --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81c17fa..2c5db04 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ const swaggerJson = p2s(postmanJson, { }) //let output = JSON.stringify(swaggerJson, null, 2) -let output = yaml.safeDump(swaggerJson) +let output = yaml.dump(swaggerJson) // Save to file fs.writeFileSync(