SumitBando / CSVToOpenAPI

Nodejs TypesScript program to convert a CSV to an OpenAPI (aka Swagger) YAML spec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodejs TypesScript program to convert a CSV to an OpenAPI (aka Swagger) YAML spec

This is useful if you get a data dump as a starting point for creating new API consumers and/or producer endpoints.

To use, clone this repo:

git clone https://github.com/SumitBando/CSVToOpenAPI
cd CSVToOpenAPI

Install dependencies

pnpm i

Use as

node CSVToOpenAPI yourfile.csv

If using Vscode, start Typescript transpiler task with Cmd-Shift-B

About

Nodejs TypesScript program to convert a CSV to an OpenAPI (aka Swagger) YAML spec


Languages

Language:TypeScript 100.0%