-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat(specs): update predict client API URL #1010
Conversation
✅ Deploy Preview for api-clients-automation canceled.
|
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
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.
Thanks for the PR :D
specs/predict/spec.yml
Outdated
@@ -10,17 +10,17 @@ components: | |||
apiKey: | |||
$ref: '../common/securitySchemes.yml#/apiKey' | |||
servers: | |||
- url: https://predict-api-432xa6wemq-{region}.a.run.app | |||
- url: https://predict-{region}.algolia |
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.
I believe it should end with .com
(see other spec.yml
files for example)
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.
Not sure how the old URL worked!
Resolved in 1863ee3
specs/predict/spec.yml
Outdated
- us | ||
- eu | ||
default: eu |
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.
The tests should be updated with the region change https://github.com/algolia/api-clients-automation/blob/main/tests/CTS/client/predict/parameters.json#L14
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 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.
Looks good ! Thanks 😄
🧭 What and Why
🎟 JIRA Ticket: PRED-560
Related PR: https://github.com/algolia/doc/pull/7336
Changes included:
🧪 Test
New URL should be https://predict.us.algolia.com/ or https://predict.eu.algolia.com/ depending on region.