Skip to content

Commit

Permalink
[Fixing example]
Browse files Browse the repository at this point in the history
  • Loading branch information
singhs020 committed Sep 10, 2024
1 parent 1f364ad commit 2ffa3de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const path = require("path");
const { getMockMate } =require("../dist");

// Path to your OpenAPI spec file
const filePath = "../example/api.yml";
const filePath = path.join(__dirname, "/api.yml");

// Initialize the Mock Mate instance
const mockMate = getMockMate(filePath);
Expand Down

0 comments on commit 2ffa3de

Please sign in to comment.