microsoft / microsoft/OpenAPI.NET.OData
add support for emitting webhooks
未关闭
还没有人认领这个 Issue。
priority:p2
type:enhancement
- 主要语言
- C#
- 星标
- 240
- 派生
- 70
- 平均合并
- 7 小时 59 分钟
- 30 天内合并 PR
- 13
描述
Microsoft Graph has types that are only used when the service calls to the client's APIs: change notifications.
In the Microsoft Graph pipeline, those types are being trimmed by kiota because they are not used anywhere (any inbound endpoint).
We should:
- come up with an annotation that means "used for a webhook"
- add this annotation to the metadata via XOD
- leverage that annotation here so a webhook definition can be added to the description
- have kiota project the types from webhooks components, and not trim them.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先追踪 Microsoft Graph pipeline、XOD metadata flow,以及 Kiota 对未被 inbound endpoints 使用的类型进行 trimming 的过程。定义 webhook annotations 应如何在生成的描述中表示和使用。完成标准是 webhook definitions 保留所需类型,并且 Kiota 对其进行投影,而不是将其 trimming 掉。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, openapi
- 领域
- api, backend-api-design
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100