opensearch-project/OpenSearch

Generate RESTful APIs from spec

Open

#3.090 aberto em 27 de abr. de 2022

Ver no GitHub
 (8 comments) (0 reactions) (0 assignees)Java (1.505 forks)batch import
Build Libraries & InterfacesClientsenhancementfeaturehelp wanted

Métricas do repositório

Stars
 (8.123 stars)
Métricas de merge de PR
 (Mesclagem média 5d 9h) (266 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe.

Coming from https://github.com/opensearch-project/opensearch-api-specification/issues/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.

Guia do colaborador