generate-openapi

    1.0.1 • Public • Published

    generate-openapi

    Convert JSON document to Open API YML Specification

    usage

    As binary:

    generate-openapi file.json type

    As npm package:

    npm install generate-openapi
    const generateOpenapi = require('generate-openapi')
     
    console.log(generateOpenapi({a:{b:{c:1,d:'e'},f:1}}, 'type'))

    Keywords

    Install

    npm i generate-openapi

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.94 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar