I was wondering if it's possible to use swagger-autogen module in a Typescript project. I have try many diffents ways but nothing to do. It always just says "Failed". In a swagger.js file :
const swaggerAutogen = require("swagger-autogen")();
const options = {...}
const outputFile = './docs/swagger-output.json';
const endpointsFiles = ['./app.ts'];
swaggerAutogen(outputFile, endpointsFiles, options);
I've tried to put the file in the dist directory but same error... Sorry if it's a stupid question or if I've just miss a key point.