Filter custom_headers from destination-type schema when feature is disabled
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by locating the handler and schema construction for GET /api/v1/destination-types, then trace how PORTAL_ENABLE_WEBHOOK_CUSTOM_HEADERS is read. Check the endpoint’s schema tests, if present. Done means the response omits custom_headers when the flag is false and includes it when enabled.
由索引模型根据 Issue 内容生成。
描述
The GET /api/v1/destination-types endpoint always returns the custom_headers field in config_fields for webhook providers, even when PORTAL_ENABLE_WEBHOOK_CUSTOM_HEADERS is false. Currently, filtering only happens client-side in the Portal UI. The backend schema should omit the field entirely when the feature is disabled so API consumers don't see an unsupported field advertised in the schema.
- 主要语言
- Go
- 星标
- 1.1k
- 派生
- 70
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 56
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hookdeck/outpost 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
hookdeck/outpost#1117 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
area: watch bug priority: low
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
mariadb-operator/mariadb-operator#1962 ·
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
eugenioenko/ttt#919 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
QuantumNous/new-api#7839 ·
维护者通常 1 天内回复
-
bug needs-triage service/costoptimizationhub
难度 2/5 1-3 小时 新手友好度 72/100
hashicorp/terraform-provider-aws#50507 · 1 条评论 ·
维护者通常 1 天内回复