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