opensearch-project/OpenSearch

Generate RESTful APIs from spec

オープン

#3,090 opened on 2022/04/27

 (8 件のコメント) (0 件のリアクション) (0 人の担当者)Java (1,505 件のフォーク)batch import
Build Libraries & InterfacesClientsenhancementfeaturehelp wanted

Repository metrics

Stars
 (8,123 個のスター)
PR merge metrics
 (平均マージ 5d 9h) (30d で 266 merged PRs)

説明

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.

コントリビューターガイド