1.0.1 • Published 3 years ago

dtx-lib-api-extractor v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Usage

Swagger 기반으로 원하는 파일들의 Annotation을 긁어서 JSON 파일로 만들어줍니다.

const swaggerScraper = require('swagger-scraper-json');

const options = {
    info: {
        version: '1.0.0',
        title: 'Albums store',
        license: {
            name: 'MIT',
        },
    },
    baseDir: __dirname,
    // Glob pattern to find your jsdoc files (multiple patterns can be added in an array)
    filesPattern: './**/*.js',
    apiDocsPath: `${__dirname}/docs`
}

swaggerScraper(options);
1.0.1

3 years ago

1.0.0

3 years ago