Add rule RemovedRequiredProperty#27
Conversation
Fix typo in rule 2001 documentation
When all required properties are removed, and none added, the comparator reports an error for both Request / Response directions (should be response only)
|
why would removing a required property be breaking? Any UI would still work without a re-deployment |
|
Hello @holm0563, my stake on this is that if your API is exposing a property marked as required, there's a chance that your client are relying on it, and assume it's present. You mention UIs, so I'll take a TS application example, you could have something like this for example: |
|
Actually, we discussed that a bit in the linked issue, here's the relevant part:
|
Resolves #26