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

feat(cts): add assertions for header parameters #500

Merged
merged 2 commits into from
May 12, 2022

Conversation

shortcuts
Copy link
Member

🧭 What and Why

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

Changes included:

This PR adds assertions for header parameters to the CTS.

We also now transform header parameter keys to lower case, as they are case insensitive.

🧪 Test

CI :D

@shortcuts shortcuts requested a review from a team May 12, 2022 12:08
@shortcuts shortcuts self-assigned this May 12, 2022
@shortcuts shortcuts requested review from damcou and millotp and removed request for a team May 12, 2022 12:08
@netlify
Copy link

netlify bot commented May 12, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit b9c50db
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/627cfac8902606000844ca6f

@millotp
Copy link
Collaborator

millotp commented May 12, 2022

500 !!

@shortcuts
Copy link
Member Author

500 !!

sadly I did not get the matching Jira ticket like you did :(

@algolia-bot
Copy link
Collaborator

algolia-bot commented May 12, 2022

✗ The generated branch has been deleted.

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

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.

GG ! Could you also update the CTS doc pls ?

],
JAVA_CLIENT_CHANGED: [
...CLIENTS_COMMON_FILES,
JAVA_CLIENT_FOLDER,
'templates/java',
'generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java',
'tests/CTS/methods/requests/templates/java',
Copy link
Collaborator

Choose a reason for hiding this comment

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

good catch

@shortcuts
Copy link
Member Author

GG ! Could you also update the CTS doc pls ?

Yep actually I'm adding a task right now to update some docs about the recent changes I've made, so it will be in a later PR https://algolia.atlassian.net/browse/APIC-484

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 good on PHP side, just two differences once the formatter is launched

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