Rename osPatchingStatus to upper case #24954
Merged
openapi-pipeline-app / Swagger LintDiff
succeeded
Jul 24, 2023 in 5m 17s
Swagger LintDiff succeeded
LintDiff
View more details.
Details
compared tags (via openapi-validator v2.1.3) | new version | base version |
---|---|---|
package-preview-2023-08 | package-preview-2023-08(861e4cb) | package-preview-2023-08(teom-hobovm08-01-preview) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L2912 |
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.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L110 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L277 |
PutResponseSchemaDescription |
Description of 201 response code of a PUT operation MUST include term 'create'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L388 |
PatchResponseCode |
LRO PATCH must have 200 and 202 return codes. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L415 |
PatchIdentityProperty |
The patch operation body parameter schema should contain property 'identity'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L444 |
PatchSkuProperty |
The patch operation body parameter schema should contain property 'sku'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L444 |
ConsistentPatchProperties |
The property 'properties.properties' in the request body either not apppear in the resource model or has the wrong level. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L448 |
LroPatch202 |
The async patch operation should return 202. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L454 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L531 |
SyncPostReturn |
200 response for a synchronous POST operation must have a response schema specified. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L532 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L586 |
CollectionObjectPropertiesNaming |
Collection object returned by list operation 'Compute_ListNodes' with 'x-ms-pageable' extension, has no property named 'value'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L613 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L635 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L681 |
LroPostReturn |
A LRO POST operation must have both 200 & 202 return codes. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L682 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L713 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L725 |
LroPostReturn |
A LRO POST operation must have both 200 & 202 return codes. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L726 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L757 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L769 |
LroPostReturn |
A LRO POST operation must have both 200 & 202 return codes. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L770 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L801 |
ResourceNameRestriction |
The resource name parameter 'computeName' should be defined with a 'pattern' restriction. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L813 |
SyncPostReturn |
200 response for a synchronous POST operation must have a response schema specified. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L814 |
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L44 |
|
Based on the response model schema, operation 'VirtualMachineSizes_List' might be pageable. Consider adding the x-ms-pageable extension. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L85 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L91 |
|
Since operation response has model definition in array type, it should be of the form '_list'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L129 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L135 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L188 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L237 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L244 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L283 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L299 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L336 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L368 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L420 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L428 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L474 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L482 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L537 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L544 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L591 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L593 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L641 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L648 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L687 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L695 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L731 |
|
Not using the common-types defined parameter 'location'. Location: Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json#L739 |
Loading