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

[FEATURE] New API Client generated from spec #97

Closed
shyim opened this issue Oct 21, 2022 · 2 comments · Fixed by #204, #206, #207 or #214
Closed

[FEATURE] New API Client generated from spec #97

shyim opened this issue Oct 21, 2022 · 2 comments · Fixed by #204, #206, #207 or #214
Assignees
Labels
enhancement New feature or request

Comments

@shyim
Copy link
Collaborator

shyim commented Oct 21, 2022

Is your feature request related to a problem?

I would like to have a new API Client which is generated from spec files.

What solution would you like?

Use https://github.com/opensearch-project/opensearch-api-specification to generate files by

What alternatives have you considered?

Still doing as now and adding anything manually

Do you have any additional context?

Add any other context or screenshots about the feature request here.

@shyim shyim added the enhancement New feature or request label Oct 21, 2022
@nhtruong
Copy link

HI @shyim, are you interested in taking a crack at this? We have several examples of how this is done on other clients where the OpenAPI Spec were translated into API code:

  • Ruby (Incremental Generation for new endpoints)
  • Python (Generation of all endpoints)

We also have a simple guide for this. It does not cover everything. If you have any questions, please don't hesitate to ask. :)

@saimedhi
Copy link
Collaborator

Hello @shyim,

I'm Sai, and I'm excited to contribute to the opensearch-php project. I've previously worked on improving the opensearch-py generator, and I'm eager to apply my skills to the opensearch-php generator.

To get started, I'll review the existing generator code here.

I'll keep you updated on my progress. I appreciate your feedback and guidance as I work on this.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment