Response Schema Validator

Enterprise only. The response schema validator plugin adds a schema validation before the gateway returns the response to the end-user or before it’s merged in the endpoint with the rest of the backends. See: https://www.krakend.io/docs/enterprise/endpoints/response-schema-validator/

Get JSON SchemaBundle
Identifierhttps://schemas.sourcemeta.com/krakend/v2.2/plugin/response-schema-validator.json
Base DialectDraft7
Dialecthttp://json-schema.org/draft-07/schema#
Size0.001866 MB
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schemas.sourcemeta.com/krakend/v2.2/plugin/response-schema-validator.json",
  "title": "Response Schema Validator",
  "description": "Enterprise only. The response schema validator plugin adds a schema validation before the gateway returns the response to the end-user or before it’s merged in the endpoint with the rest of the backends.\n\nSee: https://www.krakend.io/docs/enterprise/endpoints/response-schema-validator/",
  "type": "object",
  "required": [ "schema" ],
  "properties": {
    "error": {
      "title": "Error definition",
      "description": "In case the validation fails, the error definition containing body and status.\n\nSee: https://www.krakend.io/docs/enterprise/endpoints/response-schema-validator/",
      "examples": [
        {
          "body": "We couldn't process you request, try again later.",
          "status": 401
        }
      ],
      "type": "object",
      "properties": {
        "body": {
...
See the full schema