Azure site recovery Swagger for 2024-04-01 Api version #29277
Merged
openapi-pipeline-app / Swagger LintDiff
succeeded
Jun 11, 2024 in 5m 57s
Swagger LintDiff succeeded
Details
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-2024-04 | package-2024-04(1866777) | default(main) |
The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.
Rule | Message |
---|---|
OperationsAPIImplementation |
Operations API must be implemented for 'Microsoft.RecoveryServices'. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L1 |
OperationsApiTenantLevelOnly |
The get operations endpoint for the operations API must only be at the tenant level. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L21 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L43 |
OperationsApiResponseSchema |
The response schema of operations API '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations' does not match the ARM specification. Please standardize the schema. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L46 |
OperationsApiSchemaUsesCommonTypes |
Operations API path must follow the schema provided in the common types. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L47 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L61 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L86 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L104 |
ResourceNameRestriction |
The resource name parameter 'alertSettingName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L104 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L136 |
PutRequestResponseSchemeArm |
A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'ReplicationAlertSettings_Create' Request Model: 'parameters[5].schema' Response Model: 'responses[200].schema' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L150 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L150 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L193 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L208 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L240 |
ResourceNameRestriction |
The resource name parameter 'virtualMachineName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L259 |
XmsPageableForListCalls |
x-ms-pageable extension must be specified for LIST APIs.Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L260 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L288 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L291 |
ResourceNameRestriction |
The resource name parameter 'virtualMachineName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L303 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L332 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L347 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L379 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L398 |
ResourceNameRestriction |
The resource name parameter 'eventName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L398 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L430 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L445 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L470 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L488 |
ResourceNameRestriction |
The resource name parameter 'fabricName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L488 |
ParametersInPointGet |
Query parameter $filter should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L499 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L527 |
ProvisioningStateSpecifiedForLROPut |
200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L542 |
ProvisioningStateSpecifiedForLROPut |
201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L542 |
PutRequestResponseSchemeArm |
A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'ReplicationFabrics_Create' Request Model: 'parameters[5].schema' Response Model: 'responses[200].schema' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L542 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L542 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L585 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L592 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L603 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L631 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L632 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L647 |
ResourceNameRestriction |
The resource name parameter 'fabricName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L647 |
PostResponseCodes |
Long-running POST operations must have responses with 202 and default return codes. They must also have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. They also must not have other response codes. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L648 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L679 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L686 |
ResourceNameRestriction |
The resource name parameter 'resourceName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L698 |
ResourceNameRestriction |
The resource name parameter 'fabricName' should be defined with a 'pattern' restriction. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L698 |
PostResponseCodes |
Long-running POST operations must have responses with 202 and default return codes. They must also have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. They also must not have other response codes. Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L699 |
RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.RecoveryServices/stable/2024-04-01/service.json#L727 |
Loading