SyntaxFix
Write A Post
Hire A Developer
Questions
I couldn't import a different file.json too. But I resolved it like this
const swaggerDoc = require('../swagger.json')