[Hub Generated] Review request for Microsoft.Security to add version preview/2023-05-01-preview #24090
This check has been archived and is scheduled for deletion.
Learn more about checks retention
openapi-pipeline-app / Swagger LintDiff
failed
May 31, 2023 in 3m 29s
Swagger LintDiff failed
LintDiff: 11 Errors, 33 Warnings
View more details on Swagger Pipeline
Details
compared tags (via openapi-validator v2.1.2) | new version | base version |
---|---|---|
package-composite-v3 | package-composite-v3(c89cc00) | package-composite-v3(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
NoDuplicatePathsForScopeParameter |
Path '/{scope}/providers/Microsoft.Security/customRecommendations/{customRecommendationName}' with explicitly defined scope is a duplicate of path '/{scope}/providers/Microsoft.Security/customRecommendations' that has the scope parameter.'. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L37 |
RPC-Uri-V1-10 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must return 202. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L206 |
RPC-Async-V1-09 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L216 |
|
TopLevelResourcesListBySubscription |
The top-level resource 'CustomRecommendation' does not have list by subscription operation, please add it. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L246 |
RPC-Get-V1-05 |
NoDuplicatePathsForScopeParameter |
Path '/{scope}/providers/Microsoft.Security/securityStandards/{standardId}' with explicitly defined scope is a duplicate of path '/{scope}/providers/Microsoft.Security/securityStandards' that has the scope parameter.'. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L37 |
RPC-Uri-V1-10 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must return 202. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L206 |
RPC-Async-V1-09 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L216 |
|
TopLevelResourcesListBySubscription |
The top-level resource 'SecurityStandard' does not have list by subscription operation, please add it. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L247 |
RPC-Get-V1-05 |
ParametersOrder |
The parameters:standardAssignmentName,resourceId should be kept in the same order as they present in the path. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L126 |
|
NoDuplicatePathsForScopeParameter |
Path '/{resourceId}/providers/Microsoft.Security/standardAssignments/{standardAssignmentName}' with explicitly defined scope is a duplicate of path '/{scope}/providers/Microsoft.Security/standardAssignments' that has the scope parameter.'. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L165 |
RPC-Uri-V1-10 |
TopLevelResourcesListBySubscription |
The top-level resource 'StandardAssignment' does not have list by subscription operation, please add it. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L225 |
RPC-Get-V1-05 |
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L55 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L55 |
||
The response of operation:'CustomRecommendations_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L83 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L100 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L100 |
||
The response of operation:'CustomRecommendations_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L126 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L143 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L143 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L195 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L195 |
||
200 response schema in long running DELETE operation is missing ProvisioningState property. A LRO DELETE operations 200 response schema must have ProvisioningState specified. Location: Microsoft.Security/preview/2023-05-01-preview/customRecommedations.json#L207 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L55 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L55 |
||
The response of operation:'SecurityStandards_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L83 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L100 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L100 |
||
The response of operation:'SecurityStandards_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L126 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L143 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L143 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L195 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L195 |
||
200 response schema in long running DELETE operation is missing ProvisioningState property. A LRO DELETE operations 200 response schema must have ProvisioningState specified. Location: Microsoft.Security/preview/2023-05-01-preview/securityStandards.json#L207 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L50 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L50 |
||
The response of operation:'StandardAssignments_Create' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L76 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L91 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L91 |
||
The response of operation:'StandardAssignments_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L126 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L138 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L138 |
||
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L177 |
||
Not using the common-types defined parameter 'scope'. Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L177 |
||
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.Security/preview/2023-05-01-preview/standardAssignments.json#L283 |
Loading