Skip to content

Commit f560f78

Browse files
authored
Update openapi-authoring-automated-guidelines.md (#18420)
* Update openapi-authoring-automated-guidelines.md * Update openapi-authoring-automated-guidelines.md
1 parent fc24333 commit f560f78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

documentation/openapi-authoring-automated-guidelines.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
6060
| [R4018](#r4018) | [OperationsApiResponseSchema](#r4018) | ARM OpenAPI(swagger) specs |
6161
| [R4019](#r4019) | [GetCollectionResponseSchema](#r4019) | ARM OpenAPI(swagger) specs |
6262
| [R4009](#r4009) | [RequiredReadOnlySystemData](#r4009) | ARM OpenAPI(swagger) specs |
63+
| [R4025](#r4025) | [DeleteOperationAsyncResponseValidation](#r4025) | ARM OpenAPI(swagger) specs |
6364

6465
#### ARM Warnings
6566

@@ -161,7 +162,6 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
161162
| Id | Rule Name | Applies to |
162163
| --- | --- | --- |
163164
| [R4023](#r4023) | [RPaasPutLongRunningOperation201Only](#r4023) | ARM OpenAPI(swagger) specs |
164-
| [R4025](#r4025) | [RPaasDeleteLongRunningOperation202Only](#r4025) | ARM OpenAPI(swagger) specs |
165165
| [R4026](#r4026) | [RPaasPostLongRunningOperation202Only](#r4026) | ARM OpenAPI(swagger) specs |
166166
| [R4031](#r4031) | [RPaasResourceProvisioningState](#r4031) | ARM OpenAPI(swagger) specs |
167167
| [R4038](#r4038) | [ExtensionResourcePathPattern](#r4038) | ARM OpenAPI(swagger) specs |
@@ -2522,7 +2522,7 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul
25222522

25232523
**Output Message** : The delete operation is defined without a 200 or 204 error response implementation,please add it.
25242524

2525-
**Description** : Per ARM Specs, all DELETE methods must have responses code implementation: 200, 204.   
2525+
**Description** : Per ARM Specs, all DELETE methods (non-async) must have responses code implementation: 200, 204.   
25262526

25272527
**CreatedAt**: May 21, 2020
25282528

@@ -3016,13 +3016,13 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul
30163016

30173017
Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rules](#automated-rules) | [ARM](#arm-violations): [Errors](#arm-errors) or [Warnings](#arm-warnings) | [SDK](#sdk-violations): [Errors](#sdk-errors) or [Warnings](#sdk-warnings)
30183018

3019-
### <a name="r4025"></a>R4025 RPaasDeleteLongRunningOperation202Only
3019+
### <a name="r4025"></a>R4025 DeleteOperationAsyncResponseValidation
30203020

3021-
**Category** : RPaaS Error
3021+
**Category** : ARM Error
30223022

30233023
**Applies to** : ARM OpenAPI(swagger) specs
30243024

3025-
**Output Message** : [RPaaS] DELETE async supports
3025+
**Output Message** : DELETE async supports
30263026

30273027
**Description** : An async DELETE operation response include status code 202 with 'Location' header. Must support status code 200 if operation can be completed synchronously. Must support 204 (resource doesn't exists). Operation must also add "x-ms-long-running-operation and x-ms-long-running-operation-options" to mark that it is a long running operation (in case of 202) and how it is tracked (Location header).
30283028

0 commit comments

Comments
 (0)