Openapi CSV Converter
Setup
pyenv virtualenv openapi-csv-converter
pyenv activate openapi-csv-converter
pip install -r requirements.txt
VSCode integration (Optional)
- Run command
Python: Select Intepreter
- Select
'openapi-csv-converter': venv
Usage
Openapi Spec -> CSV
python oas2csv.py -s ./sample/source-oas.yaml
CSV -> Openapi Spec
python csv2oas.py
Test
Please convert csv to openapi spec first, and then run:
S1="sample/source-oas.yaml" S2="build/oas.yaml" pytest test_converter.py