Azure / Azure/openapi-diff

[RULE 1041] AddedPropertyInResponse shoul suggest adding "readonly true"

Ouverte
#99 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Enhancement planned
Langage dominant
C#
Étoiles
290
Forks
50
Merge moyen
5 j 13 h
PR mergées (30 j)
5

Description

"Adding optional property in response" will cause SDK breaking changes only in case of GET-PUT. It's possible to avoid such scenario if the property is marked as "read only = true". The error/warning message should suggest adding it.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with the implementation of RULE 1041, AddedPropertyInResponse, and locate where its error or warning message is assembled. Update the diagnostic so it suggests marking the added response property as read-only, then verify the message using the repository's existing rule or command-line checks.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.