Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backup][Correctness] AFS RP Tier Detail #31905

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Merge branch 'main' into ianna/afsRPTierDetail

5b3e208
Select commit
Loading
Failed to load commit list.
Open

[Backup][Correctness] AFS RP Tier Detail #31905

Merge branch 'main' into ianna/afsRPTierDetail
5b3e208
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff succeeded Feb 28, 2025 in 4m 5s

Swagger LintDiff succeeded

Details

Compared specs (v2.2.3) new version base version
package-2024-10 package-2024-10(5b3e208) package-2024-10(main)

The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.

Rule Message
EvenSegmentedPathForPutOperation API path with PUT operation defined MUST have even number of segments (i.e. end in {resourceType}/{resourceName} segments).
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L21
PathForNestedResource The path for nested resource doest not meet the valid resource pattern. There is one exception for extension resources with fully qualified path and the author can go ahead and suppress the error(look at https://github.com/Azure/azure-openapi-validator/blob/main/docs/path-for-nested-resource.md#pathfornestedresource for more details)
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L21
PathForTrackedResourceTypes The path must be under a subscription and resource group for tracked resource types.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L21
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L21
PutGetPatchResponseSchema /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig has different responses for PUT/GET/PATCH operations. The PUT/GET/PATCH operations must have same schema response.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L21
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L21
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L21
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L22
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L65
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-10-01/bms.json#L65
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L117
PatchResponseCodes Synchronous PATCH operations must have responses with 200 and default return codes. They also must not have other response codes.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L117
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L136
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L164
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L164
PostResponseCodes Synchronous POST operations must have one of the following combinations of responses - 200 and default ; 204 and default. They also must not have other response codes.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L165
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L194
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L209
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L209
PostResponseCodes Synchronous POST operations must have one of the following combinations of responses - 200 and default ; 204 and default. They also must not have other response codes.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L210
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L239
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L254
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L254
PostResponseCodes Synchronous POST operations must have one of the following combinations of responses - 200 and default ; 204 and default. They also must not have other response codes.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L255
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L284
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L299
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L299
ResourceNameRestriction The resource name parameter 'fabricName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L299
ResourceNameRestriction The resource name parameter 'intentObjectName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L299
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L299
ParametersOrder The parameters:vaultName,resourceGroupName,fabricName,intentObjectName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L300
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L337
ParametersOrder The parameters:vaultName,resourceGroupName,fabricName,intentObjectName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L351
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-10-01/bms.json#L351
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L397
DeleteResponseCodes Synchronous delete operations must have responses with 200, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L411
ParametersOrder The parameters:vaultName,resourceGroupName,fabricName,intentObjectName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L411
DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L448
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L448
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L460
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L460
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L460
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L461
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L498
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L501
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupUsageSummaries'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L517
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L517
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L517
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L518
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-10-01/bms.json#L555