A tool to generate krakend endpoint configuration from openapi json, built on the openapiv3 crate.
oas2krakend generates a full krakend json config file. The default template contains a rather permissive CORS config out of the box, feel free to change it according to your needs.
- cargo +1.35.0 test
- cargo +1.35.0 build
cd oas2krakend
cargo build
...
oas2krakend -s openapi.json -c krakend_config.json