-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Generate RESTful APIs from spec #3090
Copy link
Copy link
Open
Labels
Build Libraries & InterfacesClientsClients within the Core repository such as High level Rest client and low level clientClients within the Core repository such as High level Rest client and low level clientenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or requestfeatureNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
Build Libraries & InterfacesClientsClients within the Core repository such as High level Rest client and low level clientClients within the Core repository such as High level Rest client and low level clientenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or requestfeatureNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Is your feature request related to a problem? Please describe.
Coming from opensearch-project/opensearch-api-specification#30, RESTful APIs are hand-rolled, making it difficult to inspect the available routes, required or optional parameters.
Describe the solution you'd like
Use https://github.com/opensearch-project/opensearch-api-specification to generate code in OpenSearch.
History
In this issue we discussed an approach that either starts with code that can be inspected/reflected, or starts with a spec, but not both. We proposed using https://github.com/opensearch-project/opensearch-api-specification to generate code in OpenSearch, vs. usng OpenSearch to export the spec in https://github.com/opensearch-project/opensearch-api-specification.