[Rule] Allowed values for an enum have changed
Ouverte
.NET
planned
Rule
Rule Doc Needed
- Langage dominant
- C#
- Étoiles
- 290
- Forks
- 50
- Merge moyen
- 5 j 13 h
- PR mergées (30 j)
- 5
Description
Enum “foo” had allowed values as “val1” and “val2” in v1 of API. If now, the values allowed/accepted by the service are “val1”, “val2” and “val3”, client will fail to de-serialize if “val3” comes back in the response.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by reproducing the issue with two OpenAPI specifications where enum “foo” gains “val3”, then trace the command-line tool’s rule comparison for allowed enum values. Done means the change is reported when a newer specification accepts a value that the earlier one did not, covering the described deserialization risk.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- api, cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100