Skip to content

amberzsy/opensearch-api-specification

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSearch logo

OpenSearch API Specification

Code Covergage Test Tools (Unit) Test Tools (Integration) Test Spec Validate Spec

Welcome!

The opensearch-api-specification is an open source, community-driven collection of API model specifications for OpenSearch APIs. The API models are written in OpenAPI format and are used to generate client libraries and documentation. You can find the latest release of the API specification here.

OpenSearch API Source of Truth

This repo aims to be the complete source of truth for OpenSearch and OpenSearch Dashboards REST APIs, including plugins. To be the source of truth, this repo accurately represents APIs in YAML, and publishes a single-file OpenAPI 3.1.0 spec. The latter is used to generate OpenSearch language clients, generate mechanical parts of the OpenSearch documentation, and will be used to generate the OpenSearch server API itself.

Working in this Repo

Because of our legacy, the specification is produced by reading the OpenSearch documentation and reverse-engineering code. Thus, a good place to start contributing to this repo is to identify a missing API and to add it by following the developer guide. This repo also contains a set of test tools that ensure the correctness of this API and infrastructure that evaluates the gap between the OpenSearch server and this API spec by comparing REST routes registered in a running OpenSearch to the list of the APIs in this repo. You can see the latest API and test coverage numbers in the comments automatically added to any recently merged pull requests.

Project Resources

Code of Conduct

This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact [email protected] with any additional questions or comments.

Security

If you discover a potential security issue in this project we ask that you notify OpenSearch Security directly via email to [email protected]. Please do not create a public GitHub issue.

License

This project is licensed under the Apache v2.0 License.

Copyright

Copyright OpenSearch Contributors. See NOTICE for details.

About

API specification for OpenSearch

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.6%
  • JavaScript 1.9%
  • Other 1.5%