mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-09 20:57:44 +00:00
migrated to v15
This commit is contained in:
49
.github/workflows/speakeasy_sdk_generation.yml
vendored
49
.github/workflows/speakeasy_sdk_generation.yml
vendored
@@ -1,31 +1,26 @@
|
|||||||
name: Generate
|
name: Generate
|
||||||
permissions:
|
permissions:
|
||||||
checks: write
|
checks: write
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
statuses: write
|
statuses: write
|
||||||
"on":
|
"on":
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
force:
|
force:
|
||||||
description: Force generation of SDKs
|
description: Force generation of SDKs
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 0 * * *
|
- cron: 0 0 * * *
|
||||||
jobs:
|
jobs:
|
||||||
generate:
|
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:
|
with:
|
||||||
force: ${{ github.event.inputs.force }}
|
force: ${{ github.event.inputs.force }}
|
||||||
languages: |
|
mode: direct
|
||||||
- python
|
speakeasy_version: latest
|
||||||
mode: direct
|
secrets:
|
||||||
openapi_docs: |
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
|
pypi_token: ${{ secrets.PYPI_TOKEN }}
|
||||||
publish_python: true
|
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
||||||
speakeasy_version: latest
|
|
||||||
secrets:
|
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
pypi_token: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ id: 3eeea668-4ef4-464e-a888-bdfa023bedf5
|
|||||||
management:
|
management:
|
||||||
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
|
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.207.1
|
speakeasyVersion: 1.210.0
|
||||||
generationVersion: 2.280.6
|
generationVersion: 2.281.2
|
||||||
releaseVersion: 0.4.1
|
releaseVersion: 0.4.2
|
||||||
configChecksum: 0b2741b885d75fab8768ca79a3e7c8ac
|
configChecksum: 91784c6d1608677dcdc20f3be8c9229b
|
||||||
repoURL: https://github.com/LukeHagar/plexpy.git
|
repoURL: https://github.com/LukeHagar/plexpy.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexpy.git
|
installationURL: https://github.com/LukeHagar/plexpy.git
|
||||||
|
|||||||
@@ -6,13 +6,13 @@ generation:
|
|||||||
optionalPropertyRendering: withExample
|
optionalPropertyRendering: withExample
|
||||||
useClassNamesForArrayFields: true
|
useClassNamesForArrayFields: true
|
||||||
fixes:
|
fixes:
|
||||||
nameResolutionDec2023: false
|
nameResolutionDec2023: true
|
||||||
parameterOrderingFeb2024: false
|
parameterOrderingFeb2024: true
|
||||||
requestResponseComponentNamesFeb2024: false
|
requestResponseComponentNamesFeb2024: true
|
||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
python:
|
python:
|
||||||
version: 0.4.1
|
version: 0.4.2
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dependencies: {}
|
dependencies: {}
|
||||||
extraDependencies:
|
extraDependencies:
|
||||||
12
.speakeasy/workflow.yaml
Normal file
12
.speakeasy/workflow.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
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:
|
||||||
|
plexpy:
|
||||||
|
target: python
|
||||||
|
source: my-source
|
||||||
|
publish:
|
||||||
|
pypi:
|
||||||
|
token: $PYPI_TOKEN
|
||||||
2
setup.py
2
setup.py
@@ -10,7 +10,7 @@ except FileNotFoundError:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="plex-api-client",
|
name="plex-api-client",
|
||||||
version="0.4.1",
|
version="0.4.2",
|
||||||
author="LukeHagar",
|
author="LukeHagar",
|
||||||
description="Python Client SDK Generated by Speakeasy",
|
description="Python Client SDK Generated by Speakeasy",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ class SDKConfiguration:
|
|||||||
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
||||||
language: str = 'python'
|
language: str = 'python'
|
||||||
openapi_doc_version: str = '0.0.3'
|
openapi_doc_version: str = '0.0.3'
|
||||||
sdk_version: str = '0.4.1'
|
sdk_version: str = '0.4.2'
|
||||||
gen_version: str = '2.280.6'
|
gen_version: str = '2.281.2'
|
||||||
user_agent: str = 'speakeasy-sdk/python 0.4.1 2.280.6 0.0.3 plex-api-client'
|
user_agent: str = 'speakeasy-sdk/python 0.4.2 2.281.2 0.0.3 plex-api-client'
|
||||||
retry_config: RetryConfig = None
|
retry_config: RetryConfig = None
|
||||||
_hooks: SDKHooks = None
|
_hooks: SDKHooks = None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user