Title: Consolidate slicing to OpenApi.NET lib · Issue #1468 · microsoft/OpenAPI.NET · GitHub
Open Graph Title: Consolidate slicing to OpenApi.NET lib · Issue #1468 · microsoft/OpenAPI.NET
X Title: Consolidate slicing to OpenApi.NET lib · Issue #1468 · microsoft/OpenAPI.NET
Description: 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 fun...
Open Graph Description: 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 functionali...
X Description: 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 functionali...
Opengraph URL: https://github.com/microsoft/OpenAPI.NET/issues/1468
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consolidate slicing to OpenApi.NET lib","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nTo 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.\r\n\r\n**Describe the solution you'd like**\r\nThe library should offer methods on the OpenApiDocument instance that support slicing based on the following OpenAPI constructs:\r\n- [ ] Tags: This functionality is currently available in both [Hidi](https://github.com/microsoft/OpenAPI.NET/blob/36350fe7f3c352e70f285eeed8e2fd5b9e2f3836/src/Microsoft.OpenApi.Hidi/OpenApiService.cs#L252) and DevX API.\r\n- [ ] OperationIds: This functionality is also present in [Hidi](https://github.com/microsoft/OpenAPI.NET/blob/36350fe7f3c352e70f285eeed8e2fd5b9e2f3836/src/Microsoft.OpenApi.Hidi/OpenApiService.cs#L252) and DevX API.\r\n- [ ] Paths: This functionality is currently implemented in Kiota. We should adopt Kiota's path [filtering syntax](https://learn.microsoft.com/en-us/openapi/kiota/using#--include-path--i) for this purpose.\r\n\r\n**Describe alternatives you've considered**\r\nWhile 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.\r\n\r\n**Additional context**\r\nN/A\r\n","author":{"url":"https://github.com/peombwa","@type":"Person","name":"peombwa"},"datePublished":"2023-11-14T23:37:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1468/OpenAPI.NET/issues/1468"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:94df718f-2336-d2e3-4151-f26cec42065a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFEC:C4AB9:4745B9:6263E2:698110C7 |
| html-safe-nonce | c8f30d346853773ab4638c9f64b05e9fcd850f38b323a1acce7de1b31eb71d21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkVDOkM0QUI5OjQ3NDVCOTo2MjYzRTI6Njk4MTEwQzciLCJ2aXNpdG9yX2lkIjoiMTI5MDkyMTc1NjIzOTkyNTQ0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d5d4424e6adfe9bf5fa87dae1b7319d6d915714a18634189bc124b2265235156 |
| hovercard-subject-tag | issue:1993759743 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/OpenAPI.NET/1468/issue_layout |
| twitter:image | https://opengraph.githubassets.com/975b9c4e83b0731436a554ba6f934ff89866d46e2c78bd18cab018b96d61e71c/microsoft/OpenAPI.NET/issues/1468 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/975b9c4e83b0731436a554ba6f934ff89866d46e2c78bd18cab018b96d61e71c/microsoft/OpenAPI.NET/issues/1468 |
| og:image:alt | 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 functionali... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | peombwa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/OpenAPI.NET git https://github.com/microsoft/OpenAPI.NET.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 97175798 |
| octolytics-dimension-repository_nwo | microsoft/OpenAPI.NET |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 97175798 |
| octolytics-dimension-repository_network_root_nwo | microsoft/OpenAPI.NET |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d5b34a4e4898b066c629879feb4b184bc471d6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width