-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[text analytics] fix casing of certainty enum #13277
Conversation
Hi, @iscai-msft Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] |
Swagger pipeline can not start as the pull request has merge conflicts. |
1 similar comment
Swagger pipeline can not start as the pull request has merge conflicts. |
…into fix_certainty_swagger * 'master' of https://github.com/Azure/azure-rest-api-specs: Network november release (Azure#13224) read replica added (Azure#12567) Fix parent class of ClusterResource and DataCenterResource in .NET SDK (Azure#13244) Update credential scope for Python. (Azure#13263) [Hub Generated] Review request for Face to add version stable/v1.0 (Azure#12739) Update Certainty enum (Azure#13247) Added Swagger Doc for Settings API (Azure#13241) [Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-10-01 (Azure#12822) fix web python.md (Azure#13162) Peering new api version 2021-01-01 (Azure#12855) Update Device Update for IoT Hub control plane autorest file for C# with correct namespace and output folder (Azure#13251) update swagger reviews for translator text (Azure#13246) [deviceupdate] make changes to readme in time for first release (Azure#13240)
Swagger Validation Report
|
Rule | Message |
---|---|
1020 - AddedEnumValue |
The new version is adding enum value(s) 'positive, positivepossible, neutralpossible, negativepossible, negative' from the old version. New: TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json#L1882:9 Old: TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json#L1882:9 |
️️✔️
LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌
ModelValidation: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
ENUM_CASE_MISMATCH |
Enum does not match case for: Positive Url: TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json#L1882 JsonUrl: preview/v3.1-preview.4/examples/SuccessfulHealthStatusRequest.json |
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
[Staging] SDK Track2 Validation: 1 Warnings warning [Detail]
- The following tags are being changed in this PR
Rule | Message |
---|---|
"readme":"cognitiveservices/data-plane/TextAnalytics/readme.md", "tag":"release_3_1_preview.4", "details":"Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail." |
️️✔️
[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️❌
[Staging] SpellCheck: 3 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
HowToFix |
Unknown word (positivepossible), please fix the error or add words to ./custom-words.txt path: TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json#L1887:14 |
HowToFix |
Unknown word (neutralpossible), please fix the error or add words to ./custom-words.txt path: TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json#L1888:14 |
HowToFix |
Unknown word (negativepossible), please fix the error or add words to ./custom-words.txt path: TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json#L1889:14 |
Swagger Generation Artifacts
|
Hi @iscai-msft, Your PR has some issues. Please fix the CI sequentially by following the order of
|
closing this PR, service team will handle the swagger refactoring to ensure it's correct |
DISCLAIMERS: I wasn't able to repro any value for certainty besides
negative
, so I'm not 100% sure all of them are lowercase. Additionally, I'm only able to get a value forcertainty
out of the 3 assertion properties, so I'm not sure the other enums are correctly cased