Skip to content

krakend/krakend-jsonschema

krakend-jsonschema

A JSON schema validator for the KrakenD API Gateway

Usage

Include in your krakend.json the JSON Schema configuration associated to every endpoint needing it. For instance:

{
	"version": "2",
	"endpoints": [
		{
			"endpoint": "/foo",
			"extra_config": {
				"github.com/devopsfaith/krakend-jsonschema": {
					YOUR SCHEMA HERE
				}
			}
		}  
	]
}

The configuration key "github.com/devopsfaith/krakend-jsonschema" takes directly as value the schema definition. Examples of schema can be found here

About

a JSONschema validator for the KrakenD API Gateway

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages