-
Notifications
You must be signed in to change notification settings - Fork 183
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
Generate opensearch-py client from API specs #551
Conversation
Codecov Report
@@ Coverage Diff @@
## main #551 +/- ##
==========================================
+ Coverage 70.63% 71.08% +0.44%
==========================================
Files 83 83
Lines 7857 7756 -101
==========================================
- Hits 5550 5513 -37
+ Misses 2307 2243 -64
|
Signed-off-by: saimedhi <[email protected]>
0df0987
to
356bd96
Compare
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.
Great!
if all_paths_have_deprecation and x_deprecation_message is not None: | ||
api.update({"deprecation_message": x_deprecation_message}) | ||
|
||
if namespace == "indices" and name == "put_mapping": |
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.
Do you want to try to extract the JSON patch logic from my other PR after this, and we can discuss whether it's a good idea, or do you want me to do it?
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.
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.
Consolidating all patches in one place within overrides is efficient. However, creating a completely new spec for those endpoints might risk becoming outdated and misaligned with the main spec.
Signed-off-by: saimedhi <[email protected]> Signed-off-by: roma2023 <[email protected]>
Description
Generate all APIs
Issues Resolved
closes #489, #477
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.