GithubHelp home page GithubHelp logo

andrewharry / openapi-yaml-to-csv-excel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from horitaka/openapi-yaml-to-csv-excel

0.0 0.0 0.0 310 KB

License: MIT License

Shell 1.13% JavaScript 6.58% TypeScript 92.28%

openapi-yaml-to-csv-excel's Introduction

OpenAPI YAML to CSV/Excel Converter

test Version

This is a CLI tool for converting OpenAPI YAML file to CSV/Excel file. Please see the following examples below to better understand this tool.

Input file example

input.yaml

Output file example

output.csv output.xlsx

This tool supports OpenAPI 3.0.0 or later and supports fields below.

Field name Support
[path].summary
[path].descripition
[path].[method].tags
[path].[method].summary
[path].[method].description
[path].[method].operationId

Usage

Convert to CSV/Excel

Command

npx openapi-yaml-to-csv-excel convert -i input-file.yaml -o output-file.csv
npx openapi-yaml-to-csv-excel convert -i input-file.yaml -o output-file.xlsx

Options

Option Required Description
-i, --input yes Input file name
-o, --output no Output file name

Update existing file

Command

npx openapi-yaml-to-csv-excel update -i input-file.yaml -u update-file.csv -o output-file.csv
npx openapi-yaml-to-csv-excel update -i input-file.yaml -u update-file.xlsx -o output-file.xlsx

Options

Option Required Description
-i, --input yes Input file name
-u, --update yes Updating file name
-o, --output no Output file name

Roadmap

  • Add update command
  • Add converter to excel
  • Add an option for selecting output columns
  • Add an option for specifying update csv header names
  • Support all OpenAPI fields

Contributing

Contributions are welcome! If you find a bug or want to request a new feature, please open a new issue.

License

OpenAPI YAML to CSV/Excel is available under the MIT License.

openapi-yaml-to-csv-excel's People

Contributors

horitaka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.