6 lines
No EOL
165 B
JavaScript
6 lines
No EOL
165 B
JavaScript
const swaggerAutogen = require('swagger-autogen')()
|
|
|
|
const outputFile = './swagger_output.json'
|
|
const APIfiles = ['./index.js']
|
|
|
|
swaggerAutogen(outputFile, APIfiles) |