Consolidate slicing to OpenApi.NET lib
@peombwa y travaille déjà.
Depuis le 14/11/2023.
Évaluation
Cette issue n'a pas encore été évaluée.
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 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
- Langage dominant
- C#
- Étoiles
- 1.6k
- Forks
- 286
- Merge moyen
- 6 h 38 min
- PR mergées (30 j)
- 35
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoft/OpenAPI.NET
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
microsoft/OpenAPI.NET#2798 ·
-
microsoft/OpenAPI.NET#3056 · 1 commentaire · 1 réaction · 2 personnes assignées ·
-
type:breaking-change
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
microsoft/OpenAPI.NET#3014 · 2 commentaires ·
-
Implement equality (`IEquatable<T>` and override object.Equals/GetHashCode) for object models Ouvertehelp wanted
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
microsoft/OpenAPI.NET#2989 · 3 commentaires ·
-
help wanted type:feature
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
microsoft/OpenAPI.NET#2967 · 18 commentaires · 1 réaction ·
Toutes les issues de microsoft/OpenAPI.NET
Issues similaires
-
CS0162 "Unreachable code detected" warning from a MSBuildTemp .tmp file in every game project Ouvertebug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
-
Type: enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
apache/arrow-adbc#4809 ·
-
type/automation type/tech-debt
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
microsoft/vscode-azurefunctions#5197 · 1 commentaire ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
microsoft/microsoft-ui-reactor#1274 ·