Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Apr 22, 2023
1 parent dfccb66 commit 7bc9329
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 6 deletions.
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,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
<?php

declare(strict_types=1);

use Speakeasy\SpeakeasyClientSDK\SDK;
use \Speakeasy\SpeakeasyClientSDK\Models\Shared\Security;
use \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApisRequest;
use \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApisOp;

$security = new Security();
$security->apiKey = 'YOUR_API_KEY_HERE';

$sdk = SDK::builder()
->setSecurity($security);
->build();
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,12 @@ 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 - .
- [Composer v0.13.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.13.0 - .

## 2023-04-22 00:11:37
### Changes
Based on:
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy
### Releases
- [Composer v0.14.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.14.0 - .
6 changes: 3 additions & 3 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ configVersion: 1.0.0
management:
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
docVersion: 0.3.0
speakeasyVersion: 1.21.4
generationVersion: 2.19.1
speakeasyVersion: 1.22.1
generationVersion: 2.20.1
generation:
telemetryEnabled: true
sdkClassName: SDK
singleTagPerOp: false
php:
version: 0.13.0
version: 0.14.0
namespace: Speakeasy\SpeakeasyClientSDK
packageName: speakeasy-api/speakeasy-client-sdk-php
4 changes: 2 additions & 2 deletions src/SDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ class SDK
private ?Models\Shared\Security $_security;
private string $_serverUrl;
private string $_language = 'php';
private string $_sdkVersion = '0.13.0';
private string $_genVersion = '2.19.1';
private string $_sdkVersion = '0.14.0';
private string $_genVersion = '2.20.1';

/**
* Returns a new instance of the SDK builder used to configure and create the SDK instance.
Expand Down

0 comments on commit 7bc9329

Please sign in to comment.