-
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
[Cognitive Services] Update endpoint URL template for Content Moderator. #3505
Conversation
@@ -8,7 +8,6 @@ nodejs: | |||
package-name: azure-cognitiveservices-contentmoderator | |||
package-version: 1.0.0-preview | |||
output-folder: $(node-sdks-folder)/lib/services/contentModerator | |||
override-client-name: ContentModeratorAPIClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this to keep consistency
@@ -3,7 +3,7 @@ | |||
"info": { | |||
"title": "Content Moderator Client", | |||
"version": "1.0", | |||
"description": "You use the API to scan your content as it is generated. Content Moderator then processes your content and sends the results along with relevant information either back to your systems or to the built-in review tool. You can use this information to take decisions e.g. take it down, send to human judge, etc.\r\n\r\nWhen using the API, images need to have a minimum of 128 pixels and a maximum file size of 4MB. \r\nText can be at most 1024 characters long. \r\nIf the content passed to the text API or the image API exceeds the size limits, the API will return an error code that informs about the issue.\r\n\r\nThis API is currently available in:\r\n\r\n* West US - westus.api.cognitive.microsoft.com\r\n* East US 2 - eastus2.api.cognitive.microsoft.com\r\n* West Central US - westcentralus.api.cognitive.microsoft.com\r\n* West Europe - westeurope.api.cognitive.microsoft.com\r\n* Southeast Asia - southeastasia.api.cognitive.microsoft.com ." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the outdated region list.
Automation for azure-sdk-for-javaThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-rubyThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-nodeA PR has been created for you: |
@yangyuan are we still waiting for other reviewers? |
Can one of the admins verify this patch? |
Hi @jhendrixMSFT. I've updated some SDKs, but heard some negative feedback (also found a small issue in auto-generated documents). |
@yangyuan @jhendrixMSFT, I am good with these. @swiftarrow11, how about you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some model validation failures that need to be addressed, please see the travis log.
hi @jhendrixMSFT, I've fixed the model validation error. It shows that Linter Diff complaints some operations missing x-ms-examples.
|
@bsiegel I understand you're working on this new linter diff in CI? I don't think it should be failing for this PR as it doesn't add any new operations. |
@veronicagg do you know about this new linter behavior? |
@jhendrixMSFT I asked @bsiegel about this in the morning. @bsiegel I think this is another case for the issue you fixed earlier today, in which case this branch would need to be rebased to pick up Brandon's fix. @bsiegel could you check other PRs that may be opened and got affected by it? |
@jhendrixMSFT I have rebase the branch and now all passes. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some model validation failures that need to be addressed, please see the travis log.
Detail background and explainations in here: #3489 Cognitive Services URL template (endpoint)
Please hold for swiftarrow11 or sanjeev3's review as well as my confirmation.
PR information
api-version
in the path should match theapi-version
in the spec).Quality of Swagger