diff --git a/README.md b/README.md index 0559369..9e3015a 100755 --- a/README.md +++ b/README.md @@ -165,6 +165,53 @@ use \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApisOp; $security = new Security(); $security->apiKey = 'YOUR_API_KEY_HERE'; +$sdk = SDK::builder() + ->setSecurity($security); + ->build(); + +try { + $request = new GetApisRequest(); + $request->metadata = [ + 'provident' => [ + 'quibusdam', + 'unde', + 'nulla', + ], + 'corrupti' => [ + 'vel', + 'error', + 'deserunt', + 'suscipit', + ], + 'iure' => [ + 'debitis', + 'ipsa', + ], + ]; + $request->op = new GetApisOp(); + $request->op->and = false; + + $response = $sdk->apis->getApis($request); + + if ($response->apis !== null) { + // handle response + } +} catch (Exception $e) { + // handle exception +} +``````php +apiKey = 'YOUR_API_KEY_HERE'; + $sdk = SDK::builder() ->setSecurity($security); ->build(); diff --git a/RELEASES.md b/RELEASES.md index f6c4642..57c9315 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -270,4 +270,12 @@ Based on: - OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml - Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [Composer v0.12.2] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.12.2 - . \ No newline at end of file +- [Composer v0.12.2] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.12.2 - . + +## 2023-04-21 00:11:08 +### Changes +Based on: +- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml +- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy +### Releases +- [Composer v0.13.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.13.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index f50da58..9c9ea80 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,13 +2,13 @@ configVersion: 1.0.0 management: docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4 docVersion: 0.3.0 - speakeasyVersion: 1.20.2 - generationVersion: 2.18.2 + speakeasyVersion: 1.21.4 + generationVersion: 2.19.1 generation: telemetryEnabled: true sdkClassName: SDK singleTagPerOp: false php: - version: 0.12.2 + version: 0.13.0 namespace: Speakeasy\SpeakeasyClientSDK packageName: speakeasy-api/speakeasy-client-sdk-php diff --git a/src/SDK.php b/src/SDK.php index e638328..cc7872a 100755 --- a/src/SDK.php +++ b/src/SDK.php @@ -80,8 +80,8 @@ class SDK private ?Models\Shared\Security $_security; private string $_serverUrl; private string $_language = 'php'; - private string $_sdkVersion = '0.12.2'; - private string $_genVersion = '2.18.2'; + private string $_sdkVersion = '0.13.0'; + private string $_genVersion = '2.19.1'; /** * Returns a new instance of the SDK builder used to configure and create the SDK instance.