mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
1 line
943 B
JSON
1 line
943 B
JSON
{"group":"eolinker.com","project":"apinto","name":"proxy_rewrite","version":"innert","render":{"type":"object","eo:type":"object","properties":{"headers":{"type":"object","eo:type":"map","description":"可对转发请求的头部进行新增,修改,删除。配置的kv对,不存在则新增,已存在则进行覆盖重写,但需要注意特殊头部字段只能在后面添加新值而不能覆盖。value为空字符串表示删除。","additionalProperties":{"type":"string","eo:type":"string"},"label":"请求头部"},"host":{"type":"string","eo:type":"string","label":"Host"},"regex_uri":{"type":"array","eo:type":"array","description":"该数组需要配置两个正则,第一个是匹配正则,第二个是替换正则。","items":{"type":"string","eo:type":"string"},"label":"正则替换路径(regex_uri)"},"uri":{"type":"string","eo:type":"string","label":"路径"}},"ui:sort":["uri","regex_uri","host","headers"]}} |