Files
APIPark/resources/plugin/render/eolinker_com_apinto_proxy_rewrite.json
T
2024-08-12 21:38:09 +08:00

1 line
943 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"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"]}}