opensearch-project/OpenSearch

Generate RESTful APIs from spec

Open

#3,090 创建于 2022年4月27日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)Java (1,505 fork)batch import
Build Libraries & InterfacesClientsenhancementfeaturehelp wanted

仓库指标

Star
 (8,123 star)
PR 合并指标
 (平均合并 5天 9小时) (30 天内合并 266 个 PR)

描述

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.

贡献者指南