-
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): add abtesting
specs and client
#76
Conversation
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.
Very nice !
clients/algoliasearch-client-javascript/client-abtesting/model/aBTest.ts
Show resolved
Hide resolved
clients/algoliasearch-client-javascript/client-abtesting/model/listABTestsResponse.ts
Show resolved
Hide resolved
taskID: | ||
$ref: ../../common/parameters.yml#/taskID |
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.
Can you remove this one and use the common directly in the spec please ?
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.
Good catch, forgot to fix that
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.
Actually I remember why I did that, this in between reference is required when generating client since the path is too deep.
I wonder if this is a limitation of being unable to use built specs.
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 doubt that adding ../
makes the path too deep, and it's never mentioned in the openapi spec
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.
It works without the in between ref for me
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.
Weird, mine fails 🤔
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.
with just $ref: ../../common/parameters.yml#/taskID
?
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.
both files are at the same depth there is no reason to fail in one place and not the other
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.
Yep, I get Could not find taskID in contents of ./paths/../common/parameters.yml
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-201
Changes included:
specs
and JavaScript client forabtesting
endpontsbodyParams
#77) for the Query Suggestions clientclients/README.md
🧪 Test
CI :D