added overlay for mintlify

This commit is contained in:
Luke Hagar
2024-09-09 16:10:36 +00:00
parent 41ad5e9f09
commit c4eda454cc
3 changed files with 20 additions and 5 deletions

View File

@@ -2,11 +2,10 @@ speakeasyVersion: 1.392.1
sources: sources:
merge-code-samples-into-spec: merge-code-samples-into-spec:
sourceNamespace: merge-code-samples-into-spec sourceNamespace: merge-code-samples-into-spec
sourceRevisionDigest: sha256:bb871f0125f3ba9269eb9fe3f89ae3e1a77a71f17ea5ca75da963aac27667f28 sourceRevisionDigest: sha256:30691138bddfb8eb11988088e2e8b9a18d75ae13d751d195c050a63196dcc8d1
sourceBlobDigest: sha256:101caa77c2fb4a6b37fc0d0f49525caaa53eb341884f44674ce8cc0a5c8ab123 sourceBlobDigest: sha256:bd80764316637b8651d7b6117cbe2822ce8894f19671f9d502073fbe0590e4c0
tags: tags:
- latest - latest
- main
targets: {} targets: {}
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0
@@ -14,8 +13,9 @@ workflow:
sources: sources:
merge-code-samples-into-spec: merge-code-samples-into-spec:
inputs: inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api - location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
overlays: overlays:
- location: ./mintlify-overlay.yaml
- 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

View File

@@ -3,8 +3,9 @@ speakeasyVersion: latest
sources: sources:
merge-code-samples-into-spec: merge-code-samples-into-spec:
inputs: inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api - location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
overlays: overlays:
- location: ./mintlify-overlay.yaml
- 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

14
mintlify-overlay.yaml Normal file
View File

@@ -0,0 +1,14 @@
overlay: 1.0.0
info:
title: Overlay to adjust the Spec for use with Mintlify
version: 0.0.1
actions:
- target: "$.servers[0].variables.protocol.description"
description: Remove the server protocol variable description
remove: true
- target: "$.servers[0].variables.ip.description"
description: Remove the server ip variable description
remove: true
- target: "$.servers[0].variables.port.description"
description: Remove the server port variable description
remove: true