Update openapi-authoring-automated-guidelines.md (#18420)

* Update openapi-authoring-automated-guidelines.md

* Update openapi-authoring-automated-guidelines.md
This commit is contained in:
JianyeXi 2022-04-12 17:31:45 +08:00 коммит произвёл GitHub
Родитель fc24333d3a
Коммит f560f78c86
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -60,6 +60,7 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
| [R4018](#r4018) | [OperationsApiResponseSchema](#r4018) | ARM OpenAPI(swagger) specs |
| [R4019](#r4019) | [GetCollectionResponseSchema](#r4019) | ARM OpenAPI(swagger) specs |
| [R4009](#r4009) | [RequiredReadOnlySystemData](#r4009) | ARM OpenAPI(swagger) specs |
| [R4025](#r4025) | [DeleteOperationAsyncResponseValidation](#r4025) | ARM OpenAPI(swagger) specs |
#### ARM Warnings
@ -161,7 +162,6 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
| Id | Rule Name | Applies to |
| --- | --- | --- |
| [R4023](#r4023) | [RPaasPutLongRunningOperation201Only](#r4023) | ARM OpenAPI(swagger) specs |
| [R4025](#r4025) | [RPaasDeleteLongRunningOperation202Only](#r4025) | ARM OpenAPI(swagger) specs |
| [R4026](#r4026) | [RPaasPostLongRunningOperation202Only](#r4026) | ARM OpenAPI(swagger) specs |
| [R4031](#r4031) | [RPaasResourceProvisioningState](#r4031) | ARM OpenAPI(swagger) specs |
| [R4038](#r4038) | [ExtensionResourcePathPattern](#r4038) | ARM OpenAPI(swagger) specs |
@ -2522,7 +2522,7 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul
**Output Message** : The delete operation is defined without a 200 or 204 error response implementation,please add it.
**Description** : Per ARM Specs, all DELETE methods must have responses code implementation: 200, 204.   
**Description** : Per ARM Specs, all DELETE methods (non-async) must have responses code implementation: 200, 204.   
**CreatedAt**: May 21, 2020
@ -3016,13 +3016,13 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul
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)
### <a name="r4025"></a>R4025 RPaasDeleteLongRunningOperation202Only
### <a name="r4025"></a>R4025 DeleteOperationAsyncResponseValidation
**Category** : RPaaS Error
**Category** : ARM Error
**Applies to** : ARM OpenAPI(swagger) specs
**Output Message** : [RPaaS] DELETE async supports
**Output Message** : DELETE async supports
**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).