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

Add May Preview And May GA changes for Analyze ConversationsAurghob/convmaypreview ga #28841

Merged
merged 16 commits into from May 8, 2024

Conversation

aurghob
Copy link
Contributor

@aurghob aurghob commented Apr 25, 2024

Data Plane API - Pull Request

Adding May Preview and May GA API for Analyze Conversations API for Cognitive Services Language.
This change is based off an API review done on 4/9 : #28093 and takes changes from quentinRobinson#1 and aurghob#1.

Brief overview of changes:

  1. All November Preview API changes carry over to May Preview API (2023-05-15-preview) except for conversational sentiment which is removed.
  2. Conv PII is GA with the GA API (2024-05-01).
  3. Conv Summarization task stays GA.
  4. Note : Custom Conversation summarization stays in preview and not GA.
  5. follow-up tasks aspect used in Conv Summarization is not being GA and stays in upcoming preview. It was present in the last Nov Preview API (2023-11-15-preview).
  6. GA of summaryLength parameter in abstractive summarization task parameter. (not covered in API review)
  7. GA of Recap Summary Aspect (not covered in API review)
  8. Removal of Conversational Sentiment as at is no longer available from new GA and preview API and being deprecated (mentioned but not explicitly removed in API review).

API Info: The Basics

Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

  • Link to API Spec engagement record issue:

Is this review for (select one):

  • a private preview
  • a public preview
  • GA release

Change Scope

This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

  • Design Document:
  • Previous API Spec Doc:
  • Updated paths:

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

❔Got questions? Need additional info?? We are here to help!

Contact us!

The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

Click here for links to tools, specs, guidelines & other good stuff

Tooling

Guidelines & Specifications

Helpful Links

Checks stuck in `queued` state? If the PR CI checks appear to be stuck in `queued` state, please add a comment with contents `/azp run`. This should result in a new comment denoting a `PR validation pipeline` has started and the checks should be updated after few minutes.

@aurghob aurghob requested review from MushMal and marclerwick and removed request for a team April 25, 2024 10:03
Copy link

openapi-pipeline-app bot commented Apr 25, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Apr 25, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 32 Warnings warning [Detail]
Compared specs (v0.10.8) new version base version
analyzeconversations.json 2024-05-15-preview(0eb0bfe) 2023-04-01(main)
analyzeconversations.json 2024-05-15-preview(0eb0bfe) 2023-11-15-preview(main)
analyzeconversations.json 2024-05-01(0eb0bfe) 2023-04-01(main)
analyzeconversations.json 2024-05-01(0eb0bfe) 2023-11-15-preview(main)

The following breaking changes are detected by comparison with the latest preview version:

Only 30 items are listed, please refer to log for more details.

Rule Message
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyzeConversationSentimentResult' removed or renamed?
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L281:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyzeConversationalSentimentTask' removed or renamed?
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L281:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ConversationSentimentResults' removed or renamed?
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L281:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ConversationalSentimentTaskParameters' removed or renamed?
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L281:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyzeConversationSentimentResult' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyzeConversationalSentimentTask' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyzeCustomConversationSummarizationResult' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AnalyzeCustomConversationSummarizationTask' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ConversationSentimentResults' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ConversationalSentimentTaskParameters' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CustomConversationSummarizationTaskParameters' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CustomSummaryResult' removed or renamed?
New: Language/stable/2024-05-01/analyzeconversations.json#L275:3
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L287:3
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentTask' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L514:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L520:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentResults' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L403:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L409:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentResults' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L403:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L409:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentTask' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L524:5
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L530:5
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentTask' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L514:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L520:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentResults' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L592:5
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L604:5
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentResults' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L403:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L409:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentTask' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L514:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L520:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentResults' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L403:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L409:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ConversationalSentimentTask' from the old version.
New: Language/preview/2024-05-15-preview/analyzeconversations.json#L514:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L520:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'CustomConversationalSummarizationTask, ConversationalSentimentTask' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L508:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L520:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'CustomConversationalSummarizationResults, ConversationalSentimentResults' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L397:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L409:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'CustomConversationalSummarizationResults, ConversationalSentimentResults' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L397:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L409:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'CustomConversationalSummarizationTask, ConversationalSentimentTask' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L518:5
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L530:5
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'CustomConversationalSummarizationTask, ConversationalSentimentTask' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L508:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L520:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'CustomConversationalSummarizationResults, ConversationalSentimentResults' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L580:5
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L604:5
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'CustomConversationalSummarizationResults, ConversationalSentimentResults' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L397:9
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L409:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'follow-up tasks' from the old version.
New: Language/stable/2024-05-01/analyzeconversations.json#L1688:11
Old: Language/preview/2023-11-15-preview/analyzeconversations.json#L1889:11
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 26 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
release_2024-05-15-preview release_2024-05-15-preview(0eb0bfe) default(main)
release_2024-05-01 release_2024-05-01(0eb0bfe) default(main)
release_2024-05-15-preview release_2024-05-15-preview(0eb0bfe) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ SecurityDefinitionDescription Security definition should have a description.
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L41
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L51
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L101
⚠️ GetInOperationName 'GET' operation 'AnalyzeConversationsJobStatus' should use method name 'Get' or Method name start with 'List'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L165
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L165
⚠️ OperationId OperationId for get method should contain 'Get' or 'list'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L165
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L172
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L180
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L232
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L239
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L832
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1037
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1101
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1105
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1436
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1453
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1688
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1778
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1782
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1980
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L2842
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3037
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3041
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3045
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3054
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3731


The following errors/warnings exist before current PR submission:

Only 30 items are listed, please refer to log for more details.

Rule Message
⚠️ SecurityDefinitionDescription Security definition should have a description.
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L41
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L51
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L101
⚠️ GetInOperationName 'GET' operation 'AnalyzeConversationsJobStatus' should use method name 'Get' or Method name start with 'List'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L165
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L165
⚠️ OperationId OperationId for get method should contain 'Get' or 'list'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L165
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L172
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L180
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L232
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Language/preview/2024-05-15-preview/analyzeconversations.json#L239
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L832
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1037
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1101
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1105
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1436
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1453
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1688
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1778
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1782
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L1980
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L2842
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3037
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3041
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3045
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3054
⚠️ EnumInsteadOfBoolean 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: Language/preview/2024-05-15-preview/analyzeconversations.json#L3731
⚠️ SecurityDefinitionDescription Security definition should have a description.
Location: Language/stable/2024-05-01/analyzeconversations.json#L41
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/stable/2024-05-01/analyzeconversations.json#L51
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Language/stable/2024-05-01/analyzeconversations.json#L101
⚠️ GetInOperationName 'GET' operation 'AnalyzeConversationsJobStatus' should use method name 'Get' or Method name start with 'List'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Language/stable/2024-05-01/analyzeconversations.json#L162
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Apr 25, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from 8f84fab. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/Invoke-GenerateAndBuildV2.ps1:131
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  131 |                GeneratePackage `
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/Invoke-GenerateAndBuildV2.ps1:131
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  131 |                GeneratePackage `
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
  • Azure.AI.Language.Conversations [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from 8f84fab. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    cmderr	[automation_init.sh]  notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.7.0
    cmderr	[automation_init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
    cmderr	[automation_init.sh] npm notice Run `npm install -g npm@10.7.0` to update!
    cmderr	[automation_init.sh] npm notice
    warn		specification/cognitiveservices/data-plane/Language/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
    warn		specification/cognitiveservices/Language.Conversations/tspconfig.yaml skipped due to azure-sdk-for-python not found in tspconfig.yaml
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    warn	No file changes detected after generation
    warn	No package detected after generation
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Apr 25, 2024

@AzureRestAPISpecReview AzureRestAPISpecReview added the TypeSpec Authored with TypeSpec label Apr 25, 2024
Copy link
Member

@heaths heaths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one nit about docs, but otherwise LGTM.

@mikekistler mikekistler linked an issue May 8, 2024 that may be closed by this pull request
Copy link
Member

@mikekistler mikekistler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GA API looks good. 👍

Some concerns with preview API we may revisit in the next review.

@mikekistler mikekistler added the APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. label May 8, 2024
@maririos
Copy link
Member

maririos commented May 8, 2024

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@heaths
Copy link
Member

heaths commented May 8, 2024

There are no new suppressions in this PR. I'll open a tracking issue for this, but it should not block the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. Approved-Suppression data-plane new-api-version SuppressionReviewRequired TypeSpec Authored with TypeSpec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Azure Cognitive service for language ] API Review
7 participants