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

Cognitive Services 2023-10-01-preview update #26892

Merged
merged 3 commits into from
Jan 26, 2024

address LintDiff

7927a30
Select commit
Loading
Failed to load commit list.
Merged

Cognitive Services 2023-10-01-preview update #26892

address LintDiff
7927a30
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / ~[NotRequired_Staging] Swagger LintDiff succeeded Jan 23, 2024 in 3m 5s

~[NotRequired_Staging] Swagger LintDiff succeeded

Details

compared tags (via openapi-validator vbeta) new version base version
package-preview-2023-10 package-preview-2023-10(7927a30) package-preview-2023-10(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2559
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2543
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2540
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2538


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

Rule Message
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5213
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5206
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5165
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5165
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5109
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5109
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5090
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L5090
TrackedResourcePatchOperation Tracked resource 'CommitmentPlan' must have patch operation that at least supports the update of tags.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L4925
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L4667
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L4626
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L4590
TrackedResourcePatchOperation Tracked resource 'PrivateEndpointConnection' must have patch operation that at least supports the update of tags.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L4470
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3371
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3369
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3323
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3290
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3290
ProvisioningStateValidation ProvisioningState must have terminal states: Succeeded, Failed and Canceled.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3191
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3180
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3180
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3180
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3159
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3159
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3159
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3014
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2952
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2952
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2689
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1701
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1669
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1458
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1426
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1198
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1170
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1153
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1121
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1106
RequestSchemaForTrackedResourcesMustHaveTags A tracked resource MUST always have tags as a top level optional property. Tracked resource does not have tags in the request schema.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1062
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1062
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1062
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1005
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L977
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L671
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L612
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L584
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L313
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.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L281
PathForTrackedResourceTypes The path must be under a subscription and resource group for tracked resource types.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L237
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L181