mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-07 12:37:44 +00:00
swapped to working directory, fixed examples, moved .speakeasy folder
This commit is contained in:
3
.github/workflows/sdk_generation.yaml
vendored
3
.github/workflows/sdk_generation.yaml
vendored
@@ -18,7 +18,7 @@ permissions:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/sdk_generation.yaml
|
- .github/workflows/sdk_generation.yaml
|
||||||
- output/**
|
- src/**/*
|
||||||
jobs:
|
jobs:
|
||||||
generate:
|
generate:
|
||||||
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
|
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
|
||||||
@@ -26,6 +26,7 @@ jobs:
|
|||||||
force: ${{ github.event.inputs.force }}
|
force: ${{ github.event.inputs.force }}
|
||||||
mode: direct
|
mode: direct
|
||||||
speakeasy_version: latest
|
speakeasy_version: latest
|
||||||
|
working_directory: src
|
||||||
secrets:
|
secrets:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
||||||
|
|||||||
@@ -9,11 +9,10 @@ sources:
|
|||||||
- main
|
- main
|
||||||
plexapi:
|
plexapi:
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:aa3d51ad678f12d3f0121c2e0cc07b657f4f36255a20b1799f6794472050602a
|
sourceRevisionDigest: sha256:d04ffffa410d0426cab3b57271707e74be4ea444488aca4e95e0029876407404
|
||||||
sourceBlobDigest: sha256:73623151bbbcbb12ffb68cfa5e5810934de83d99d7aae64b5cb02ce91a2f4f51
|
sourceBlobDigest: sha256:863fb79ab9ef54aea7be91ae1a65d93a3f5ea89bcc550db8fb4e0b85d4b61852
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- main
|
|
||||||
targets: {}
|
targets: {}
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
@@ -21,7 +20,7 @@ workflow:
|
|||||||
sources:
|
sources:
|
||||||
plexapi:
|
plexapi:
|
||||||
inputs:
|
inputs:
|
||||||
- location: ./src/pms-spec.yaml
|
- location: ./pms-spec.yaml
|
||||||
ruleset: PathParamRuleset
|
ruleset: PathParamRuleset
|
||||||
registry:
|
registry:
|
||||||
location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi
|
location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi
|
||||||
@@ -3,9 +3,8 @@ speakeasyVersion: latest
|
|||||||
sources:
|
sources:
|
||||||
plexapi:
|
plexapi:
|
||||||
inputs:
|
inputs:
|
||||||
# - location: ./src/pms-spec.yaml
|
- location: ./pms-spec.yaml
|
||||||
- location: ./output/plex-media-server-spec-dereferenced.yaml
|
ruleset: PathParamRuleset
|
||||||
# ruleset: PathParamRuleset
|
|
||||||
registry:
|
registry:
|
||||||
location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi
|
location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi
|
||||||
targets: {}
|
targets: {}
|
||||||
@@ -5,5 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: Roku
|
||||||
- Roku
|
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: Roku 3
|
||||||
- Roku 3
|
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: "external-media,indirect-media,hub-style-list"
|
example: external-media,indirect-media,hub-style-list
|
||||||
|
|||||||
@@ -5,8 +5,4 @@ required: true
|
|||||||
in: header
|
in: header
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: 3381b62b-9ab7-4e37-827b-203e9809eb58
|
||||||
- 3381b62b-9ab7-4e37-827b-203e9809eb58
|
|
||||||
- SMPH00123
|
|
||||||
- 4CE0460D0G
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: googlePlay
|
||||||
- googlePlay
|
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: 4200X
|
||||||
- 4200X
|
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: 4.3 build 1057
|
||||||
- 4.3 build 1057
|
|
||||||
|
|||||||
@@ -5,6 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: Roku
|
||||||
- Chrome
|
|
||||||
- Roku
|
|
||||||
|
|||||||
@@ -5,6 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
example: Plex for Roku
|
||||||
- Plex Web
|
|
||||||
- Plex for Roku
|
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: "97e136ef-4ddd-4ff3-89a7-a5820c96c2ca"
|
example: 97e136ef-4ddd-4ff3-89a7-a5820c96c2ca
|
||||||
|
|||||||
@@ -5,6 +5,4 @@ in: header
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
examples: 2.4.1
|
||||||
- "2.4.1"
|
|
||||||
- "4.133.0"
|
|
||||||
Reference in New Issue
Block a user