-
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
fix(javascript): handle parent in models #339
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 |
@Override | ||
public String getName() { | ||
return "algolia-javascript"; | ||
} | ||
|
||
@Override | ||
public CodegenOperation fromOperation(String path, String httpMethod, Operation operation, List<Server> servers) { | ||
return Utils.specifyCustomRequest(super.fromOperation(path, httpMethod, operation, servers)); | ||
public CodegenOperation fromOperation( |
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.
this made me realize we don't format the generators, I'll add a step in the CI.
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 true, I did not understood why it's not done so I've kept it for this file, good idea
algolia/api-clients-automation#339 Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-413
Changes included:
JavaScript types were not reflecting the
additionalProperties
option in our specs, which made some of our types incorrect.🧪 Test