Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.3.0, Speakeasy CLI 1.147.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 19, 2024
1 parent a017b89 commit 2d0968c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ management:
docChecksum: ba638b2ad28966c596e28321a2003686
docVersion: 0.3.0
speakeasyVersion: internal
generationVersion: 2.225.2
releaseVersion: 0.35.0
configChecksum: 541b62afca62abd817abce3d64d8035e
generationVersion: 2.237.2
releaseVersion: 0.35.1
configChecksum: cff4b242c16b8d4edc2cadf5e1bed558
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php
Expand All @@ -15,7 +15,7 @@ features:
php:
core: 3.3.0
examples: 2.81.3
globalSecurity: 2.81.2
globalSecurity: 2.81.3
globalServerURLs: 2.82.1
inputOutputModels: 2.83.0
serverIDs: 2.81.1
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -584,4 +584,14 @@ Based on:
### Generated
- [php v0.35.0] .
### Releases
- [Composer v0.35.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.35.0 - .
- [Composer v0.35.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.35.0 - .

## 2024-01-19 00:12:47
### Changes
Based on:
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.35.1] .
### Releases
- [Composer v0.35.1] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.35.1 - .
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generation:
fixes:
nameResolutionDec2023: false
php:
version: 0.35.0
version: 0.35.1
imports:
option: openapi
paths:
Expand Down
6 changes: 3 additions & 3 deletions src/SDKConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class SDKConfiguration
public string $server = '';
public string $language = 'php';
public string $openapiDocVersion = '0.3.0';
public string $sdkVersion = '0.35.0';
public string $genVersion = '2.225.2';
public string $userAgent = 'speakeasy-sdk/php 0.35.0 2.225.2 0.3.0 speakeasy-api/speakeasy-client-sdk-php';
public string $sdkVersion = '0.35.1';
public string $genVersion = '2.237.2';
public string $userAgent = 'speakeasy-sdk/php 0.35.1 2.237.2 0.3.0 speakeasy-api/speakeasy-client-sdk-php';


public function getServerUrl(): string
Expand Down
4 changes: 2 additions & 2 deletions src/Utils/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ private function parseSecuritySchemeValue(mixed $value, SecurityMetadata $metada
}
break;
case 'openIdConnect':
$clientOptions['headers'][$fieldMetadata->name] = $value;
$clientOptions['headers'][$fieldMetadata->name] = preg_match('/^Bearer /i', $value) ? $value : 'Bearer ' . $value;
break;
case 'oauth2':
$clientOptions['headers'][$fieldMetadata->name] = $value;
$clientOptions['headers'][$fieldMetadata->name] = preg_match('/^Bearer /i', $value) ? $value : 'Bearer ' . $value;
break;
case 'http':
switch ($metadata->subtype) {
Expand Down

0 comments on commit 2d0968c

Please sign in to comment.