schemas.schema-form.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gravitee-policy-url-rewriting Show documentation
Show all versions of gravitee-policy-url-rewriting Show documentation
Rewrite URLs from an HTTP response header or body
{
"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