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

Issue with Cognitive Services Local Search Swagger #7110

Closed
sarangan12 opened this issue Sep 3, 2019 · 0 comments
Closed

Issue with Cognitive Services Local Search Swagger #7110

sarangan12 opened this issue Sep 3, 2019 · 0 comments
Assignees

Comments

@sarangan12
Copy link
Member

sarangan12 commented Sep 3, 2019

As of September 3, 2019, In the Local Search Swagger, the host looks like this

....
"host": "api.cognitive.microsoft.com"
.....

and the basePath looks like this:

....
"basePath": "/localbusinesses/v7.0/search",
....

and the actual Path looks like this:

 "/localbusinesses/v7.0/search": {

This is incorrect. As a result of this, the generated SDKs try to make contact to the endpoint:

https://api.cognitive.microsoft.com/localbusinesses/v7.0/search/localbusinesses/v7.0/search

which gives error. Per the documentation, the basePath must be /bing and the actual path should be /v7.0/localbusinesses/search which will resolve the issue. (I have verified it)

But without the fix, this service is not usable by any language SDKs.

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

No branches or pull requests

3 participants