We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dff8bb6 commit ec80520Copy full SHA for ec80520
src/lib/index.js
@@ -24,7 +24,7 @@ app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(openApiSpec));
24
25
// Serve the OpenAPI JSON
26
app.get('/openapi.json', (req, res) => {
27
- res.sendFile(path.join(__dirname, '../swagger/openapi.json'));
+ res.sendFile(path.join(__dirname, './swagger/openapi.json'));
28
});
29
30
// Export the app for Vercel or start the server locally
0 commit comments