All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemas.schema-form.json Maven / Gradle / Ivy

There is a newer version: 1.7.0
Show newest version
{
  "type" : "object",
  "id" : "urn:jsonschema:io:gravitee:policy:urlrewriting:configuration:URLRewritingPolicyConfiguration",
  "properties" : {
    "rewriteResponseHeaders" : {
      "title": "Rewrite HTTP response headers",
      "description": "Rewrite the value of HTTP response headers.",
      "type" : "boolean",
      "default": true
    },
    "rewriteResponseBody" : {
      "title": "Rewrite HTTP response body",
      "description": "Rewrite the HTTP response body.",
      "type" : "boolean",
      "default": true
    },
    "fromRegex" : {
      "title": "URL pattern expression",
      "description": "The regex pattern for matching URLs.",
      "type" : "string"
    },
    "toReplacement" : {
      "title": "Replacement value",
      "description": "The value used to replace matching URLs (support EL).",
      "type" : "string",
      "x-schema-form": {
        "expression-language": true
      }
    }
  },
  "required": [
    "fromRegex",
    "toReplacement"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy