[Hub Generated] Review request for Microsoft.DataProtection to add version preview/2023-08-01-preview #25967
openapi-pipeline-app / Swagger LintDiff
failed
Oct 12, 2023 in 3m 9s
Swagger LintDiff failed
LintDiff: 146 Errors, 346 Warnings
View more details.
Details
compared tags (via openapi-validator v2.1.6) | new version | base version |
---|---|---|
package-preview-2023-08 | package-preview-2023-08(fb28da1) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.
Rule | Message |
---|---|
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L42 |
LroExtension |
Operations with a 202 response must specify x-ms-long-running-operation: true .Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L64 |
ParametersOrder |
The parameters:operationId,location should be kept in the same order as they present in the path. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L64 |
GetOperation200 |
The get operation should only return 200. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L94 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L184 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L307 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L328 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L429 |
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.DataProtection/preview/2023-08-01-preview/dataprotection.json#L446 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L473 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L482 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L532 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L538 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L553 |
LroExtension |
Operations with a 202 response must specify x-ms-long-running-operation: true .Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L554 |
GetOperation200 |
The get operation should only return 200. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L589 |
OperationsApiSchemaUsesCommonTypes |
Operations API path must follow the schema provided in the common types. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L749 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L770 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L797 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L818 |
ResourceNameRestriction |
The resource name parameter 'backupPolicyName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L818 |
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.DataProtection/preview/2023-08-01-preview/dataprotection.json#L869 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L978 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1005 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1026 |
ResourceNameRestriction |
The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1026 |
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.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1073 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1137 |
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.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1148 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1202 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1214 |
ResourceNameRestriction |
The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1214 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1278 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1293 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1354 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1442 |
ResourceNameRestriction |
The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1442 |
LroExtension |
Operations with a 202 response must specify x-ms-long-running-operation: true .Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1443 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'BackupInstances' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1448 |
GetOperation200 |
The get operation should only return 200. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1482 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1482 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1499 |
ResourceNameRestriction |
The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1499 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1543 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1565 |
ResourceNameRestriction |
The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1565 |
ParametersInPost |
$filter is a query parameter. Post operation must not contain any query parameter other than api-version. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1629 |
ParametersInPost |
$skipToken is a query parameter. Post operation must not contain any query parameter other than api-version. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1629 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1757 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/preview/2023-08-01-preview/dataprotection.json#L1835 |
Loading