From c4eda454ccfe29080de6d7ec753f46530775900d Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Mon, 9 Sep 2024 16:10:36 +0000 Subject: [PATCH] added overlay for mintlify --- .speakeasy/workflow.lock | 8 ++++---- .speakeasy/workflow.yaml | 3 ++- mintlify-overlay.yaml | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 mintlify-overlay.yaml diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index de3f60c..ff55924 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,11 +2,10 @@ speakeasyVersion: 1.392.1 sources: merge-code-samples-into-spec: sourceNamespace: merge-code-samples-into-spec - sourceRevisionDigest: sha256:bb871f0125f3ba9269eb9fe3f89ae3e1a77a71f17ea5ca75da963aac27667f28 - sourceBlobDigest: sha256:101caa77c2fb4a6b37fc0d0f49525caaa53eb341884f44674ce8cc0a5c8ab123 + sourceRevisionDigest: sha256:30691138bddfb8eb11988088e2e8b9a18d75ae13d751d195c050a63196dcc8d1 + sourceBlobDigest: sha256:bd80764316637b8651d7b6117cbe2822ce8894f19671f9d502073fbe0590e4c0 tags: - latest - - main targets: {} workflow: workflowVersion: 1.0.0 @@ -14,8 +13,9 @@ workflow: sources: merge-code-samples-into-spec: inputs: - - location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api + - location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main overlays: + - location: ./mintlify-overlay.yaml - 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 diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index a2f1731..37cc766 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -3,8 +3,9 @@ speakeasyVersion: latest sources: merge-code-samples-into-spec: inputs: - - location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api + - location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main overlays: + - location: ./mintlify-overlay.yaml - 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 diff --git a/mintlify-overlay.yaml b/mintlify-overlay.yaml new file mode 100644 index 0000000..03d99ba --- /dev/null +++ b/mintlify-overlay.yaml @@ -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 \ No newline at end of file