This tool is able to remove jsonld entries from a given OpenAPI yaml file.
$ poetry init
$ poetry run python main.py --input openapi.yaml --output output.yaml
$ pip3 install -r requirements.txt
$ python3 main.py --input openapi.yaml --output output.yaml
The input.yaml
file contains an example openapi specification with jsonld entries.
The output.yaml
file contains the same specification without jsonld entries stripped down.