[LintDiff][False positive][~[Staging] Swagger LintDiff failed] Incorrect validation rule "DeleteResponseCodes"
Open
ARM
bug
Central-EngSys
Spec PR Tools
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 143
Description
**Describe the bug**
The rule [DeleteResponseCodes](https://github.com/Azure/azure-openapi-validator/blob/main/docs/delete-response-codes.md) might be incorrect. I believe, an async api implementation may choose to complete the operation Synchronously based on some conditions and return 200 instead of 202.
**Reference**: [DeleteOperationAsyncResponseValidation](https://github.com/Azure/azure-openapi-validator/blob/main/docs/delete-operation-async-response-validation.md)
Example where the validation failed: https://github.com/Azure/azure-rest-api-specs/pull/24037/checks?check_run_id=13566776598
Contributor guide
Assessment
This issue has not been assessed yet.