This pull request updates the documentation to apply the latest changes on JSON schema validation. A summary is:
So far we had a single schema validation (https://www.krakend.io/schema/v3.json) for all KrakenD versions.
Instead of versioning per KrakenD configuration syntax version (3), we will now version the schema together with the KrakenD version (e.g.: 2.3)
The main JSON schema file (the one for the :latest images) is now krakend.json instead of v3.json.
The chosen rename to krakend.json is to host other validations, not only KrakenD configuration files, such as integration tests that share nothing with KrakenD syntax.
Moving forward there will be JSON schemas per minor KrakenD version, such as https://www.krakend.io/schema/v2.3/krakend.json
Before this change, the schema kept evolving for new KrakenD versions, but older ones still used the same schema, so there could be the impression that the new features were supported in past versions when they weren't.
The URL v3.json will be still supported for compatibility reasons and to keep linters working. It is a simple $ref to krakend.json.
This pull request updates the documentation to apply the latest changes on JSON schema validation. A summary is:
https://www.krakend.io/schema/v3.json
) for all KrakenD versions.:latest
images) is nowkrakend.json
instead ofv3.json
.krakend.json
is to host other validations, not only KrakenD configuration files, such as integration tests that share nothing with KrakenD syntax.https://www.krakend.io/schema/v2.3/krakend.json
v3.json
will be still supported for compatibility reasons and to keep linters working. It is a simple$ref
tokrakend.json
.