implementing codeSamples

This commit is contained in:
Luke Hagar
2024-07-01 16:36:02 +00:00
parent 8b25f3f78c
commit e12479df8c
4 changed files with 15571 additions and 6 deletions

26
.speakeasy/workflow.lock Normal file
View File

@@ -0,0 +1,26 @@
speakeasyVersion: 1.323.0
sources:
merge-code-samples-into-spec:
sourceNamespace: merge-code-samples-into-spec
sourceRevisionDigest: sha256:3063298bae5248cde25807184d682428075ce6742468fcda2b902a7ea0a4bff7
sourceBlobDigest: sha256:b7d5c96543963e3e8935877c6312b08eadef551c49b4d411b22641ee4f6e6f2e
tags:
- latest
targets: {}
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
merge-code-samples-into-spec:
inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/my-source
overlays:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-php-plexphp:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-ruby-plexruby:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-go-plexgo:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-java-plexjava:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-typescript-plexjs:main
output: ./openapi-with-code-samples.yaml
registry:
location: registry.speakeasyapi.dev/lukehagar/lukehagar/merge-code-samples-into-spec
targets: {}

View File

@@ -1,16 +1,16 @@
workflowVersion: 1.0.0 workflowVersion: 1.0.0
speakeasyVersion: latest
sources: sources:
merge-code-samples-into-spec: merge-code-samples-into-spec:
inputs: inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/my-source - location: registry.speakeasyapi.dev/lukehagar/lukehagar/my-source
overlays: overlays:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-python-plexpy:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-swift-plexswift:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-php-plexphp:main - location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-php-plexphp:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-ruby-plexruby:main - location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-ruby-plexruby:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-go-plexgo:main - location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-go-plexgo:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-java-plexjava:main - location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-java-plexjava:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-typescript-plexjs:main - location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-typescript-plexjs:main
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-terraform-plexterraform:main output: ./openapi-with-code-samples.yaml
output: ./openapi-with-code-samples.json registry:
location: registry.speakeasyapi.dev/lukehagar/lukehagar/merge-code-samples-into-spec
targets: {} targets: {}

View File

@@ -29,11 +29,11 @@
] ]
} }
], ],
"openapi": "/openapi-with-code-samples.json", "openapi": "/openapi-with-code-samples.yaml",
"tabs": [ "tabs": [
{ {
"name": "Plex API Reference", "name": "Plex API Reference",
"openapi": "https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml", "openapi": "/openapi-with-code-samples.yaml",
"url": "api-reference" "url": "api-reference"
} }
], ],

15539
openapi-with-code-samples.yaml Normal file

File diff suppressed because it is too large Load Diff