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

[Cogs OCR] Update vision SDK per latest update from REST sepc #6310

Merged
merged 6 commits into from
May 31, 2019

Conversation

toothache
Copy link
Member

@toothache toothache commented May 17, 2019

Update vision SDK per latest update from REST sepc:

@@ -1195,7 +1195,7 @@ public async Task<HttpOperationResponse<DomainModelResults>> AnalyzeImageByDomai
/// <return>
/// A response object containing the response body and response headers.
/// </return>
public async Task<HttpOperationResponse<OcrResult>> RecognizePrintedTextWithHttpMessagesAsync(bool detectOrientation, string url, OcrLanguages language = default(OcrLanguages), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
public async Task<HttpOperationResponse<OcrResult>> RecognizePrintedTextWithHttpMessagesAsync(bool detectOrientation, string url, OcrLanguages? language = default(OcrLanguages?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
Copy link
Member Author

Choose a reason for hiding this comment

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

No swagger change for this API, so it seems that this change is caused by the autorest tool change.

@@ -3731,7 +3723,7 @@ public async Task<HttpOperationResponse<DomainModelResults>> AnalyzeImageByDomai
/// <return>
/// A response object containing the response body and response headers.
/// </return>
public async Task<HttpOperationResponse<OcrResult>> RecognizePrintedTextInStreamWithHttpMessagesAsync(bool detectOrientation, Stream image, OcrLanguages language = default(OcrLanguages), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
public async Task<HttpOperationResponse<OcrResult>> RecognizePrintedTextInStreamWithHttpMessagesAsync(bool detectOrientation, Stream image, OcrLanguages? language = default(OcrLanguages?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
Copy link
Member Author

@toothache toothache May 17, 2019

Choose a reason for hiding this comment

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

Same for this API. Seems to be caused by codegen tool.

@toothache
Copy link
Member Author

toothache commented May 24, 2019

We have another spec change, Azure/azure-rest-api-specs#6056. Do not merge the change until that is merged.

@toothache
Copy link
Member Author

@AlexGhiondea , we currently have a S3 issue related with this fix. And we need to fix the bug and release a new sdk before 5.31. Can you help review the change?

@AlexGhiondea
Copy link
Contributor

I am seeing a few API changes (removing parameters) -- are those breaking changes?

@AlexGhiondea AlexGhiondea merged commit 9bacb20 into Azure:master May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants