[Rule] Allowed values for an enum have changed
Abierto
.NET
planned
Rule
Rule Doc Needed
- Lenguaje dominante
- C#
- Estrellas
- 290
- Forks
- 50
- Merge medio
- 5 d 13 h
- PR fusionados (30 d)
- 5
Descripción
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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- api, cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100