microsoft / microsoft/OpenAPI.NET.OData
Potential breaking changes in Graph PowerShell SDK due to change/rename of tags
已经有一个关联 PR 被合并了。
- #642 来自 @timayabi2020 —— 已合并
- 主要语言
- C#
- 星标
- 240
- 派生
- 70
- 平均合并
- 7 小时 59 分钟
- 30 天内合并 PR
- 13
描述
The following tags are missing from the latest metadata for PowerShell.
users.Actions
users.Functions
deviceManagement.Functions
deviceManagement.Actions.
This means that if you try to slice the metadata using the above tags, the service will respond with a 404. e.g. https://devxapi-func-prod-eastus.azurewebsites.net/$openapi?tags=^users.Functions$&title=Users.Functions&openapiversion=3&style=Powershell&fileName=powershell_v2&graphVersion=v1.0&singularizeOperationIds=true.
Therefore, some paths that were assigned those tags, currently have new tags and this would potentially introduce breaking changes in the SDK.
Below is an example of before and after for one of the paths.
Before
After
The change will occur in terms of grouping of paths. e.g. Paths that used to appear under Users. Actions module are now appearing under Calendar module.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,将链接的 powershell_v2.yaml 元数据中的 users 和 deviceManagement 标签与 issue 中显示的 $openapi 切片请求进行比较,然后检查生成的路径分组。完成的标准是受影响的标签不再返回 404,并且受影响的路径保留兼容的 PowerShell SDK 分组;查看链接的 pull request #642,了解现有工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, openapi, powershell
- 领域
- api, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100