opensearch-project / opensearch-php

Official PHP Client for OpenSearch
Other
110 stars 58 forks source link

Fix node id vs. metric for backwards compatibility. #221

Closed dblock closed 3 months ago

dblock commented 3 months ago

Description

We used to have two APIs with the same path, which is not valid in OpenAPI. This was fixed in https://github.com/opensearch-project/opensearch-api-specification/pull/416, but causes a backwards incompatible change in the PHP client. This change will generate both metric and node_id.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.