ComputerVision: Fix arguments for /analyze and /describe#4610
ComputerVision: Fix arguments for /analyze and /describe#4610dsgouda merged 1 commit intoAzure:psSdkJson6from
Conversation
There was a problem hiding this comment.
Please pull latest changes from psSdkJson6, run msbuild build.proj and regenerate the code
There was a problem hiding this comment.
Was this already an incorrect SDK which is being fixed or has something at the service end changed? Applies to other parameters/members too
There was a problem hiding this comment.
The service hasn't changed, we were preparing to make a version bump due to the name change (ComputerVisionAPI->ComputerVisionClient) so we're piling on with other changes we'd intended to fix. The service has not changed in a while.
|
@yangyuan fyi |
dsgouda
left a comment
There was a problem hiding this comment.
Looks great apart from a couple of minor comments.
There was a problem hiding this comment.
AssemblyVersion remains the same, AssemblyFileVersion must be updated
There was a problem hiding this comment.
Remains the same meaning it shouldn't be changed?
There was a problem hiding this comment.
Yes, AssemblyVersion must not be changed
There was a problem hiding this comment.
Please bump the version number here.
8010c9e to
3e28be5
Compare
162f3c8 to
3e28be5
Compare
Updates for [PR1](Azure/azure-rest-api-specs#3479) and [PR2](Azure/azure-rest-api-specs#3486). * The API client name was changed from ComputerVisionAPI to ComputerVisionClient, in keeping with other Azure SDKs. * The way the Azure region is specfied has changed. Specifically, the AzureRegion property was dropped in favor of an Endpoint property. If you were previously specifying an AzureRegion value, you should now specify Endpoint='https://{AzureRegion}.api.cognitive.microsoft.com' instead. This change ensures better global coverage. * Some inconsistencies in argument types were corrected. (a) maxCandidate is an integer for DescribeImage. (b) details is a array of enumerated types for AnalyzeImage. (c) isBWImg in the AnalyzeImage(color) response is a non-nullable bool. (d) clipArtType/lineDrawing in AnalyzeImage(imageType) is an integer (index) instead of a double.
|
PTAL 👀 |
| <Description>This client library provides access to the Microsoft Cognitive Services ComputerVision APIs.</Description> | ||
| <Version>3.1.0-preview</Version> | ||
| <Version>3.2.0</Version> | ||
| <AssemblyName>Microsoft.Azure.CognitiveServices.Vision.ComputerVision</AssemblyName> |
There was a problem hiding this comment.
Please acknowledge that this is a stable release. Not a blocker
Updates for PR1 and PR2.
Description
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csprojandAssemblyInfo.csfiles have been updated with the new version of the SDK.