📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

openapi-yaml-to-csv-excel

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-yaml-to-csv-excel

CLI tool to convert OpenAPI yaml file to CSV/Excel file.

1.4.0
latest
Source
npm
Version published
Weekly downloads
10
-44.44%
Maintainers
1
Weekly downloads
 
Created
Source

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 nameSupport
[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

OptionRequiredDescription
-i, --inputyesInput file name
-o, --outputnoOutput 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

OptionRequiredDescription
-i, --inputyesInput file name
-u, --updateyesUpdating file name
-o, --outputnoOutput 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.

Keywords

openapi

FAQs

Package last updated on 23 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts