microsoft / microsoft/OpenAPI.NET.OData
Missing Consistency Level header parameters for paths that have path parameters appearing as last segment immediately after a navigation property
未关闭
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 240
- 派生
- 70
- 平均合并
- 7 小时 59 分钟
- 30 天内合并 PR
- 13
描述
For example, this path /servicePrincipals/{servicePrincipal-id}/appRoleAssignments contains consistency level header parameter as shown in the image below while this one /servicePrincipals/{servicePrincipal-id}/appRoleAssignments/{appRoleAssignment-id} is missing.
Annotations have also been added to include the header and it seems like the last segment if it is a path parameter after a navigation property is not recognized.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
复现两个 servicePrincipals/appRoleAssignments 路径的生成 OpenAPI 输出,并检查 annotations 如何识别 consistency-level 标头。跟踪紧接在 navigation property 之后的路径参数的处理。完成的标准是:参数化的最终段路径和集合路径中都存在该标头,并且两个示例都有回归覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, openapi
- 领域
- api, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100