Consolidate slicing to OpenApi.NET lib
@peombwa 已经在做这个了。
开始于 2023年11月14日。
评估
这个 Issue 还没有评估数据。
描述
Is your feature request related to a problem? Please describe.
To improve the efficiency and consistency of creating subsets by downstream tools, we should look at consolidating slicing functionality into the OpenApi.NET library. The functionality will be used to support dynamic creation of OpenAPI subsets in SK.
Describe the solution you'd like
The library should offer methods on the OpenApiDocument instance that support slicing based on the following OpenAPI constructs:
- Tags: This functionality is currently available in both Hidi and DevX API.
- OperationIds: This functionality is also present in Hidi and DevX API.
- Paths: This functionality is currently implemented in Kiota. We should adopt Kiota's path filtering syntax for this purpose.
Describe alternatives you've considered
While using a predicate works, it is a low-level solution that necessitates defining the same slicing logic in multiple places where we depend on the library. Consolidating the slicing functionality into the OpenApi.NET library would eliminate this redundancy.
Additional context
N/A
- 主要语言
- C#
- 星标
- 1.6k
- 派生
- 286
- 平均合并
- 6 小时 38 分钟
- 30 天内合并 PR
- 35
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/OpenAPI.NET 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/OpenAPI.NET#2798 ·
-
microsoft/OpenAPI.NET#3056 · 1 条评论 · 1 个 reaction · 已指派 2 人 ·
-
type:breaking-change
难度 4/5 3-5 天 新手友好度 52/100
microsoft/OpenAPI.NET#3014 · 2 条评论 ·
-
help wanted
难度 5/5 一周以上 新手友好度 35/100
microsoft/OpenAPI.NET#2989 · 3 条评论 ·
-
help wanted type:feature
难度 3/5 1-2 天 新手友好度 55/100
microsoft/OpenAPI.NET#2967 · 18 条评论 · 1 个 reaction ·
查看 microsoft/OpenAPI.NET 的全部 Issue
相似的 Issue
-
:watch: Not Triaged dotnet-fsharp/svc
难度 1/5 1 小时以内 新手友好度 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
难度 2/5 1-3 小时 新手友好度 76/100
Azure/azure-sdk-for-net#63292 · 3 条评论 · 1 个 reaction ·
-
Issue-Enhancement Needs-Triage
难度 1/5 1 小时以内 新手友好度 86/100
PowerShell/PowerShell#28061 · 2 个 reaction ·
-
dependencies needs-team-triage server-Azure.Mcp
难度 2/5 1-3 小时 新手友好度 72/100
-
aspnet-core/svc aspnetcore-signalr/subsvc doc-enhancement Pri2 SignalR
难度 1/5 1 小时以内 新手友好度 88/100
dotnet/AspNetCore.Docs#37729 ·