-
Notifications
You must be signed in to change notification settings - Fork 46
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
[FEATURE] Generate API code from OpenSearch API Spec #139
Comments
Started working on this on my personal repo here using Mustache Template and OpenApi Parser. |
Progress Update: A Proof of ConceptThe Generator at the time of this writing can generate most existing API methods (given that we have the OpenAPI Spec for each of them). Here's what the
|
One reason to have rudimentary tests is to have code coverage metrics not be skewed by auto-generated code, another is to have a placeholder which can then be extended with custom specs. |
Is your feature request related to a problem?
opensearch-project/opensearch-clients#19
What solution would you like?
Write a generator that generates API Code that retains the features and interfaces of the current api gem from OpenSearch API Spec
What alternatives have you considered?
OpenAPI Generator could generate the entire client from scratch but the end result looks nothing like the current client.
Do you have any additional context?
This OpenSearch-Ruby API Generator will also be written in Ruby so that Ruby contributors can also contribute to the generator code.
The text was updated successfully, but these errors were encountered: