Skip to content

Commit

Permalink
correct yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaind committed Oct 14, 2024
1 parent 60aff49 commit 900fada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let prism;


const initializePrism = async () => {
const specPath = path.join(__dirname, '../openapi.yaml');
const specPath = path.join(__dirname, '../pos.yml');
const specContent = await fs.readFile(specPath, 'utf8');
const client = await createClientFromSpec(specContent, { format: 'yaml' });
prism = createInstance({ config: { mock: { dynamic: true } } }, client);
Expand Down

0 comments on commit 900fada

Please sign in to comment.