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 / Swagger LintDiff succeeded Jan 23, 2024 in 3m 11s

Swagger LintDiff succeeded

Details

compared tags (via openapi-validator v2.1.6) 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]
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2538
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L2540
⚠️ 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#L2559


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

Rule Message
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#L31
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L81
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L137
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#L152
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L181
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
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
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L313
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L584
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#L671
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L977
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
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
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
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
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1106
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#L1153
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L1170
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
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
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#L1669
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#L2689
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
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
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
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
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
ProvisioningStateValidation ProvisioningState must have terminal states: Succeeded, Failed and Canceled.
Location: Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json#L3191
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
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
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
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
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
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#L4667
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#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
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#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#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#L5213