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

[DO NOT MERGE][Internal testing] - testing updates to breaking change report #3143

Closed
wants to merge 3 commits into from

ongoing

98372d7
Select commit
Loading
Failed to load commit list.
Closed

[DO NOT MERGE][Internal testing] - testing updates to breaking change report #3143

ongoing
98372d7
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app-test / Swagger LintDiff failed Dec 14, 2023 in 7m 22s

Swagger LintDiff failed

LintDiff: 154 Errors, 8732 Warnings
View Azure DevOps build log for more details.

Details

compared tags (via openapi-validator v2.1.6) new version base version
release_2022-07-01-preview release_2022-07-01-preview(98372d7) default(main)
package-2020-05-12-preview package-2020-05-12-preview(98372d7) package-2020-05-12-preview(main)
release_2023-11-15-preview release_2023-11-15-preview(98372d7) release_2023-11-15-preview(main)
release_2023_04_01 release_2023_04_01(98372d7) release_2023_04_01(main)

[must fix]The following errors/warnings are introduced by current PR:
Only 50 items are listed, please refer to log for more details.

Rule Message Related RPC [For API reviewers]
LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true. GET operation is excluded from the validation as GET will have 202 only if it is a polling action & hence x-ms-long-running-operation wouldn't be defined
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L10
RPC-Post-V1-09
ParametersOrder The parameters:farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L10
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L34
RPC-Async-V1-07
LongRunningResponseStatusCodeDataPlane A 'post' operation 'QuestionAnsweringProjects_Import' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-16-preview/questionanswering-authoring.json#L361
LongRunningResponseStatusCodeDataPlane A 'put' operation 'QuestionAnsweringProjects_DeployProject' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202.
Location: Language/preview/2023-11-16-preview/questionanswering-authoring.json#L459
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L192
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_CopyProject' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L266
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L292
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_Export' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L318
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L352
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_Import' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L378
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L407
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_Train' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L433
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L459
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_SwapDeployments' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L573
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L599
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L691
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L732
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_DeleteDeploymentFromResources' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L758
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L787
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_EvaluateModel' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1136
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1165
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_LoadSnapshot' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1191
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1208
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_AssignDeploymentResources' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1461
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1487
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_UnassignDeploymentResources' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1513
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1539
LongRunningResponseStatusCodeDataPlane A 'post' operation 'ConversationalAnalysisAuthoring_CancelTrainingJob' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1731
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations-authoring.json#L1748
LongRunningResponseStatusCodeDataPlane A 'post' operation 'AnalyzeConversation_SubmitJob' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations.json#L103
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations.json#L127
LongRunningResponseStatusCodeDataPlane A 'post' operation 'AnalyzeConversation_CancelJob' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzeconversations.json#L228
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzeconversations.json#L243
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L192
LongRunningResponseStatusCodeDataPlane A 'post' operation 'TextAnalysisAuthoring_CopyProject' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L266
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L292
LongRunningResponseStatusCodeDataPlane A 'post' operation 'TextAnalysisAuthoring_Export' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L318
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L349
LongRunningResponseStatusCodeDataPlane A 'post' operation 'TextAnalysisAuthoring_Import' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L375
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L408
LongRunningResponseStatusCodeDataPlane A 'post' operation 'TextAnalysisAuthoring_Train' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L434
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L460
LongRunningResponseStatusCodeDataPlane A 'post' operation 'TextAnalysisAuthoring_SwapDeployments' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L574
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L600
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L692
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L733
LongRunningResponseStatusCodeDataPlane A 'post' operation 'TextAnalysisAuthoring_DeleteDeploymentFromResources' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201 or 202 or 204.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L759
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L788
ValidResponseCodeRequired There is no declared valid status code.
Location: Language/preview/2023-11-15-preview/analyzetext-authoring.json#L1079


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

Rule Message
ResourceNameRestriction The resource name parameter 'farmBeatsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L9
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.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L10
RequestBodyMustExistForPutPatch The put or patch operation does not have a request body defined. This is not allowed. Please specify a request body for this operation.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L19
ParametersOrder The parameters:extensionId,farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L53
ParametersOrder The parameters:extensionId,farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L99
PatchPropertiesCorrespondToPutProperties Patch operations body cannot be empty.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L108
RequestBodyMustExistForPutPatch The put or patch operation does not have a request body defined. This is not allowed. Please specify a request body for this operation.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L108
ParametersOrder The parameters:extensionId,farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L145
ResourceNameRestriction The resource name parameter 'farmBeatsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L192
ResourceNameRestriction The resource name parameter 'farmBeatsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L463
ParametersOrder The parameters:farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L507
ParametersOrder The parameters:farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L568
PatchPropertiesCorrespondToPutProperties location property in patch body is not present in the corresponding put body. A patch request body must only contain properties present in the corresponding put request body, and must contain at least one of the properties.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L580
PatchPropertiesCorrespondToPutProperties tags property in patch body is not present in the corresponding put body. A patch request body must only contain properties present in the corresponding put request body, and must contain at least one of the properties.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L580
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. These properties are not patchable.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L593
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.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L918
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.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L945
TopLevelResourcesListBySubscription The top-level resource 'FarmBeatsExtension' does not have list by subscription operation, please add it.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L1090
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.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L1094
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.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L1116
ProvisioningStateValidation ProvisioningState must have terminal states: Succeeded, Failed and Canceled.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L1164
HostParametersValidation The host parameter must be called 'endpoint'.
Location: Language/stable/2023-04-01/analyzeconversations-authoring.json#L39
HostParametersValidation The host parameter must be typed 'type 'string', format 'url''.
Location: Language/stable/2023-04-01/analyzeconversations-authoring.json#L39
HostParametersValidation The host parameter must be called 'endpoint'.
Location: Language/stable/2023-04-01/analyzeconversations.json#L39
HostParametersValidation The host parameter must be typed 'type 'string', format 'url''.
Location: Language/stable/2023-04-01/analyzeconversations.json#L39
HostParametersValidation The host parameter must be called 'endpoint'.
Location: Language/stable/2023-04-01/analyzetext-authoring.json#L39
HostParametersValidation The host parameter must be typed 'type 'string', format 'url''.
Location: Language/stable/2023-04-01/analyzetext-authoring.json#L39
HostParametersValidation The host parameter must be called 'endpoint'.
Location: Language/stable/2023-04-01/analyzetext.json#L39
HostParametersValidation The host parameter must be typed 'type 'string', format 'url''.
Location: Language/stable/2023-04-01/analyzetext.json#L39
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Language/stable/2023-04-01/analyzetext.json#L2040
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Language/stable/2023-04-01/analyzetext.json#L2373
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Language/stable/2023-04-01/analyzetext.json#L2376
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Language/stable/2023-04-01/analyzetext.json#L2379
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Language/stable/2023-04-01/analyzetext.json#L2382
HostParametersValidation The host parameter must be called 'endpoint'.
Location: Language/stable/2023-04-01/questionanswering-authoring.json#L39
HostParametersValidation The host parameter must be typed 'type 'string', format 'url''.
Location: Language/stable/2023-04-01/questionanswering-authoring.json#L39
XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
Location: Language/stable/2023-04-01/questionanswering-authoring.json#L1754
⚠️ PreviewVersionOverOneYear The API version:2020-05-12-preview having been in a preview state over one year , please move it to GA or retire.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L6
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L27
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L30
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L43
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L70
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L73
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L76
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L89
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L116
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L119
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L122
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L135
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L162