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

fix(spec): fix wrong query parameters #330

Merged
merged 5 commits into from
Apr 5, 2022
Merged

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Apr 4, 2022

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-412

Changes included:

Follow up of #313

The method's query parameters accepted only strings, while we could allow an object to ease the usage. This PR updates the spec and templates to reflect this change

🧪 Test

CI :D

@shortcuts shortcuts self-assigned this Apr 4, 2022
@netlify
Copy link

netlify bot commented Apr 4, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit 24f96c2
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/624c1c2e4f25b800083e3055

@algolia-bot
Copy link
Collaborator

algolia-bot commented Apr 4, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the generated/main branch.

@shortcuts shortcuts changed the title fix(templates): fix wrong query parameters fix(template): fix wrong query parameters Apr 4, 2022
@shortcuts shortcuts changed the title fix(template): fix wrong query parameters fix(spec): fix wrong query parameters Apr 4, 2022
@shortcuts shortcuts marked this pull request as ready for review April 5, 2022 09:02
@shortcuts shortcuts requested review from a team, eunjae-lee and damcou and removed request for a team April 5, 2022 09:02
@shortcuts shortcuts enabled auto-merge (squash) April 5, 2022 09:13
@shortcuts shortcuts disabled auto-merge April 5, 2022 09:28
damcou
damcou previously approved these changes Apr 5, 2022
Copy link
Contributor

@damcou damcou left a comment

Choose a reason for hiding this comment

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

Looks ok on the php side

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

Awesome !

templates/java/libraries/okhttp-gson/api.mustache Outdated Show resolved Hide resolved
templates/javascript/api-single.mustache Outdated Show resolved Hide resolved
@shortcuts shortcuts enabled auto-merge (squash) April 5, 2022 10:39
@shortcuts shortcuts disabled auto-merge April 5, 2022 10:41
@shortcuts shortcuts enabled auto-merge (squash) April 5, 2022 10:41
@shortcuts shortcuts merged commit cf25c6a into main Apr 5, 2022
@shortcuts shortcuts deleted the fix/customRequest-queryParams branch April 5, 2022 10:48
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Apr 5, 2022
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Apr 5, 2022
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.

4 participants