swapped to working directory, fixed examples, moved .speakeasy folder

This commit is contained in:
Luke Hagar
2024-10-02 01:26:26 +00:00
parent c17aaa0e95
commit 8091130179
15 changed files with 18 additions and 34 deletions

View File

@@ -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 }}

View File

@@ -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

View File

@@ -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: {}

View File

@@ -5,5 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- Roku
example: Roku

View File

@@ -5,5 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- Roku 3
example: Roku 3

View File

@@ -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

View File

@@ -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

View File

@@ -5,5 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- googlePlay
example: googlePlay

View File

@@ -5,5 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- 4200X
example: 4200X

View File

@@ -5,5 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- 4.3 build 1057
example: 4.3 build 1057

View File

@@ -5,6 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- Chrome
- Roku
example: Roku

View File

@@ -5,6 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- Plex Web
- Plex for Roku
example: Plex for Roku

View File

@@ -4,4 +4,4 @@ in: header
required: false
schema:
type: string
example: "97e136ef-4ddd-4ff3-89a7-a5820c96c2ca"
example: 97e136ef-4ddd-4ff3-89a7-a5820c96c2ca

View File

@@ -5,6 +5,4 @@ in: header
required: false
schema:
type: string
examples:
- "2.4.1"
- "4.133.0"
examples: 2.4.1