opensearch-project / opensearch-php

Official PHP Client for OpenSearch
Other
110 stars 58 forks source link

[FEATURE] New API Client generated from spec #97

Closed shyim closed 4 months ago

shyim commented 2 years ago

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.

nhtruong commented 1 year ago

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:

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 commented 7 months ago

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!