Skip to content

Commit

Permalink
Generate API
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Pepper <[email protected]>
  • Loading branch information
kimpepper committed Feb 3, 2025
1 parent 59320f5 commit 6bb87d8
Show file tree
Hide file tree
Showing 198 changed files with 200 additions and 200 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed PHP 8.4 deprecations
- Fixed outdated tests
### Updated APIs
- Updated opensearch-php APIs to reflect [opensearch-api-specification@b9dcb25](https://github.com/opensearch-project/opensearch-api-specification/commit/b9dcb251d551e90ecfc416ba134efe83cbcbc1b3)
- Updated opensearch-php APIs to reflect [opensearch-api-specification@9df46f8](https://github.com/opensearch-project/opensearch-api-specification/commit/9df46f8134641ae5b429e3e9269858c7cb27e4f0)
- Updated opensearch-php APIs to reflect [opensearch-api-specification@592336a](https://github.com/opensearch-project/opensearch-api-specification/commit/592336afb88844f0c5785ba4b085dba3884ac580)
- Updated opensearch-php APIs to reflect [opensearch-api-specification@799d046](https://github.com/opensearch-project/opensearch-api-specification/commit/799d04622aeddce7b697665d63a29fc049e5088e)
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/AsyncSearch/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\AsyncSearch;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class Delete extends AbstractEndpoint
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/AsyncSearch/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\AsyncSearch;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class Get extends AbstractEndpoint
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/AsynchronousSearch/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\AsynchronousSearch;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/AsynchronousSearch/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\AsynchronousSearch;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Cluster;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Cluster;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\Cluster;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Cluster/GetWeightedRouting.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\Cluster;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Cluster/PutComponentTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Cluster;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\Cluster;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Cluster/PutWeightedRouting.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\Cluster;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/CreatePit.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DanglingIndices;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DanglingIndices;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DataFrameTransformDeprecated;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class DeleteTransform extends AbstractEndpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DataFrameTransformDeprecated;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class GetTransformStats extends AbstractEndpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DataFrameTransformDeprecated;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class PutTransform extends AbstractEndpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DataFrameTransformDeprecated;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class StartTransform extends AbstractEndpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DataFrameTransformDeprecated;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class StopTransform extends AbstractEndpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\DataFrameTransformDeprecated;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

class UpdateTransform extends AbstractEndpoint
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/DeleteByQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/DeleteByQueryRethrottle.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/DeleteScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Exists.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/ExistsSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Explain.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/FlowFramework/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\FlowFramework;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/FlowFramework/Deprovision.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\FlowFramework;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/FlowFramework/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\FlowFramework;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/FlowFramework/GetStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\FlowFramework;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/FlowFramework/Provision.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\FlowFramework;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/FlowFramework/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace OpenSearch\Endpoints\FlowFramework;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/GetScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/GetSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Indices/AddBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Indices;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Indices/CloneIndices.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Indices;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Indices/Close.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Indices;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Indices/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Indices;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/Endpoints/Indices/CreateDataStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace OpenSearch\Endpoints\Indices;

use OpenSearch\Common\Exceptions\RuntimeException;
use OpenSearch\Exception\RuntimeException;
use OpenSearch\Endpoints\AbstractEndpoint;

/**
Expand Down
Loading

0 comments on commit 6bb87d8

Please sign in to comment.