migrated to v15

This commit is contained in:
Luke Hagar
2024-03-18 14:28:38 -07:00
parent 3e5d0f5c86
commit d365ad523c
5 changed files with 42 additions and 37 deletions

View File

@@ -15,14 +15,10 @@ permissions:
- cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
languages: |
- php
mode: direct
openapi_docs: |
- https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -3,10 +3,10 @@ id: 01a51eb2-5d90-4a24-b154-68e491d02c36
management:
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
docVersion: 0.0.3
speakeasyVersion: internal
generationVersion: 2.272.4
releaseVersion: 0.3.2
configChecksum: 78e421e52c2332ed1fd9b66d9e088380
speakeasyVersion: 1.210.0
generationVersion: 2.281.2
releaseVersion: 0.3.4
configChecksum: 9b2fb69d995f97252123aaf057020d71
repoURL: https://github.com/LukeHagar/plexphp.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexphp
@@ -14,7 +14,7 @@ features:
php:
core: 3.3.3
flattening: 2.81.1
globalSecurity: 2.81.4
globalSecurity: 2.81.5
globalServerURLs: 2.82.1
methodServerURLs: 2.82.1
nameOverrides: 2.81.1

View File

@@ -6,13 +6,13 @@ generation:
optionalPropertyRendering: withExample
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: false
parameterOrderingFeb2024: false
requestResponseComponentNamesFeb2024: false
nameResolutionDec2023: true
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
auth:
oAuth2ClientCredentialsEnabled: false
php:
version: 0.3.2
version: 0.3.4
imports:
option: openapi
paths:

9
.speakeasy/workflow.yaml Normal file
View File

@@ -0,0 +1,9 @@
workflowVersion: 1.0.0
sources:
my-source:
inputs:
- location: https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
targets:
plexphp:
target: php
source: my-source

View File

@@ -25,9 +25,9 @@ class SDKConfiguration
];
public string $language = 'php';
public string $openapiDocVersion = '0.0.3';
public string $sdkVersion = '0.3.2';
public string $genVersion = '2.272.4';
public string $userAgent = 'speakeasy-sdk/php 0.3.2 2.272.4 0.0.3 lukehagar/plex-api';
public string $sdkVersion = '0.3.4';
public string $genVersion = '2.281.2';
public string $userAgent = 'speakeasy-sdk/php 0.3.4 2.281.2 0.0.3 lukehagar/plex-api';
public function getServerUrl(): string