Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(swift): QuerySuggestionsConfigurationResponse appID casing #2712

Merged
merged 8 commits into from
Feb 16, 2024

Conversation

Fluf22
Copy link
Contributor

@Fluf22 Fluf22 commented Feb 15, 2024

🧭 What and Why

🎟 JIRA Ticket: -

Changes included:

  • make sure we use the same appID casing everywhere

@Fluf22 Fluf22 self-assigned this Feb 15, 2024
@Fluf22 Fluf22 requested a review from a team as a code owner February 15, 2024 13:12
Copy link

netlify bot commented Feb 15, 2024

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit 47deabf
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/65ceb01757664e000813bcd1
😎 Deploy Preview https://deploy-preview-2712--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Feb 15, 2024

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

millotp
millotp previously approved these changes Feb 15, 2024
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.

nice

@@ -122,6 +122,7 @@ public void processOpts() {
);

reservedWords.add("LogLevel");
nameMapping.put("appId", "appID");
Copy link
Collaborator

Choose a reason for hiding this comment

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

does it make sense to have it only for appID ? maybe there are a lot more variable in the code with the same format (userID maybe ?)
Maybe there is a more global setting in openapi generator to change the casing for all variables ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we can adapt case by case, it's easy

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.

looks good ! 1 more e2e that finds lots of bugs !

@Fluf22 Fluf22 merged commit 8c340a4 into main Feb 16, 2024
26 checks passed
@Fluf22 Fluf22 deleted the fix/swift-param-naming branch February 16, 2024 08:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants