You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have attempted to follow the examples here to a T, but I'm still unable to generate the swagger.json file.
This is how my configuration looks like
// Config
const version = process.env.VERSION;
const swaggerDefinition = {
openapi: '3.0.1',
info: {
title: 'Demo server',
version,
description: 'Fida',
},
servers: [
{
url: '/api/v1',
description: 'Host system path',
},
],
definition: {},
paths: {},
};
// options for the swagger docs
const options = (fileName) => ({
// import swaggerDefinitions
swaggerDefinition,
// path to the API docs
apis: [fileName],
});
export default options;
I have attempted to follow the examples here to a T, but I'm still unable to generate the swagger.json file.
This is how my configuration looks like
// Config
src/main.ts file
When I make my requests, the swagget.json file isn't updated
The text was updated successfully, but these errors were encountered: