Skip to content

Generates the endpoints[] part of a krakend config from an openapi 3 spec.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

element114/krakend_conf

Repository files navigation

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.

Minimum rust version 1.35.0

  • cargo +1.35.0 test
  • cargo +1.35.0 build

Looking for contributors

Build and use the cli tool

cd oas2krakend
cargo build
...
oas2krakend -s openapi.json -c krakend_config.json

About

Generates the endpoints[] part of a krakend config from an openapi 3 spec.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages