Skip to content

Commit d6495d3

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.601.0
1 parent b175382 commit d6495d3

File tree

16 files changed

+77
-45
lines changed

16 files changed

+77
-45
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ id: cc3a5766-8b39-40da-a0be-fff57173d8e1
33
management:
44
docChecksum: 2e0929fc035a4d91d9fbf708633ca988
55
docVersion: "2.0"
6-
speakeasyVersion: 1.580.0
7-
generationVersion: 2.654.2
8-
releaseVersion: 0.4.0
9-
configChecksum: 941cd2dd2f7c5a28dd935c935f7e8ac2
6+
speakeasyVersion: 1.601.0
7+
generationVersion: 2.680.0
8+
releaseVersion: 0.4.1
9+
configChecksum: ba03e6d279042b1bd9d661581831a3a7
1010
repoURL: https://github.com/launchdarkly/mcp-server.git
1111
installationURL: https://github.com/launchdarkly/mcp-server
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.12
17-
core: 3.21.13
17+
core: 3.21.20
1818
defaultEnabledRetries: 0.1.0
1919
deprecations: 2.81.1
2020
devContainers: 2.90.0

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: false
2525
skipResponseBodyAssertions: false
2626
typescript:
27-
version: 0.4.0
27+
version: 0.4.1
2828
additionalDependencies:
2929
dependencies: {}
3030
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.580.0
1+
speakeasyVersion: 1.601.0
22
sources:
33
LaunchDarkly REST API:
44
sourceNamespace: launchdarkly-rest-api
55
sourceRevisionDigest: sha256:667150cae7854e824a91a3ea68fc1e92bdfa475bdc24a89722778a0493d53b4f
66
sourceBlobDigest: sha256:2a2d6840880d11e156b354f916820df9b75048fe92fda6203ee6d0aaf0f21227
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1752019878
9+
- speakeasy-sdk-regen-1752106275
1010
- "2.0"
1111
targets:
1212
launchdarkly-mcp-server:
@@ -15,7 +15,7 @@ targets:
1515
sourceRevisionDigest: sha256:667150cae7854e824a91a3ea68fc1e92bdfa475bdc24a89722778a0493d53b4f
1616
sourceBlobDigest: sha256:2a2d6840880d11e156b354f916820df9b75048fe92fda6203ee6d0aaf0f21227
1717
codeSamplesNamespace: launchdarkly-rest-api-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:7088f7fcad1698616ec4a48146b51f644af8dacef407aa1e013db650dd42e42b
18+
codeSamplesRevisionDigest: sha256:6d06cb8fe689f2ac03153edb83085075560bc4676d1c96a84d6d90814230edde
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,14 @@ Based on:
7474
### Generated
7575
- [typescript v0.4.0] .
7676
### Releases
77-
- [NPM v0.4.0] https://www.npmjs.com/package/@launchdarkly/mcp-server/v/0.4.0 - .
77+
- [NPM v0.4.0] https://www.npmjs.com/package/@launchdarkly/mcp-server/v/0.4.0 - .
78+
79+
## 2025-08-12 00:10:59
80+
### Changes
81+
Based on:
82+
- OpenAPI Doc
83+
- Speakeasy CLI 1.601.0 (2.680.0) https://github.com/speakeasy-api/speakeasy
84+
### Generated
85+
- [typescript v0.4.1] .
86+
### Releases
87+
- [NPM v0.4.1] https://www.npmjs.com/package/@launchdarkly/mcp-server/v/0.4.1 - .

docs/sdks/aiconfigs/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Retrieves a specific AI Config's targeting by its key
2323

2424
### Example Usage
2525

26+
<!-- UsageSnippet language="typescript" operationID="getAIConfigTargeting" method="get" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/targeting" -->
2627
```typescript
2728
import { LaunchDarkly } from "@launchdarkly/mcp-server";
2829

@@ -659,6 +660,7 @@ Here's an example:
659660

660661
### Example Usage
661662

663+
<!-- UsageSnippet language="typescript" operationID="patchAIConfigTargeting" method="patch" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/targeting" -->
662664
```typescript
663665
import { LaunchDarkly } from "@launchdarkly/mcp-server";
664666

@@ -761,6 +763,7 @@ Get a list of all AI Configs in the given project.
761763

762764
### Example Usage
763765

766+
<!-- UsageSnippet language="typescript" operationID="getAIConfigs" method="get" path="/api/v2/projects/{projectKey}/ai-configs" -->
764767
```typescript
765768
import { LaunchDarkly } from "@launchdarkly/mcp-server";
766769

@@ -837,6 +840,7 @@ Create a new AI Config within the given project.
837840

838841
### Example Usage
839842

843+
<!-- UsageSnippet language="typescript" operationID="postAIConfig" method="post" path="/api/v2/projects/{projectKey}/ai-configs" -->
840844
```typescript
841845
import { LaunchDarkly } from "@launchdarkly/mcp-server";
842846

@@ -933,6 +937,7 @@ Delete an existing AI Config.
933937

934938
### Example Usage
935939

940+
<!-- UsageSnippet language="typescript" operationID="deleteAIConfig" method="delete" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}" -->
936941
```typescript
937942
import { LaunchDarkly } from "@launchdarkly/mcp-server";
938943

@@ -1011,6 +1016,7 @@ Retrieve a specific AI Config by its key.
10111016

10121017
### Example Usage
10131018

1019+
<!-- UsageSnippet language="typescript" operationID="getAIConfig" method="get" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}" -->
10141020
```typescript
10151021
import { LaunchDarkly } from "@launchdarkly/mcp-server";
10161022

@@ -1100,6 +1106,7 @@ Here's an example:
11001106

11011107
### Example Usage
11021108

1109+
<!-- UsageSnippet language="typescript" operationID="patchAIConfig" method="patch" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}" -->
11031110
```typescript
11041111
import { LaunchDarkly } from "@launchdarkly/mcp-server";
11051112

@@ -1210,6 +1217,7 @@ The <code>model</code> in the request body requires a <code>modelName</code> and
12101217

12111218
### Example Usage
12121219

1220+
<!-- UsageSnippet language="typescript" operationID="postAIConfigVariation" method="post" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations" -->
12131221
```typescript
12141222
import { LaunchDarkly } from "@launchdarkly/mcp-server";
12151223

@@ -1326,6 +1334,7 @@ Delete a specific variation of an AI Config by config key and variation key.
13261334

13271335
### Example Usage
13281336

1337+
<!-- UsageSnippet language="typescript" operationID="deleteAIConfigVariation" method="delete" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}" -->
13291338
```typescript
13301339
import { LaunchDarkly } from "@launchdarkly/mcp-server";
13311340

@@ -1406,6 +1415,7 @@ Get an AI Config variation by key. The response includes all variation versions
14061415

14071416
### Example Usage
14081417

1418+
<!-- UsageSnippet language="typescript" operationID="getAIConfigVariation" method="get" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}" -->
14091419
```typescript
14101420
import { LaunchDarkly } from "@launchdarkly/mcp-server";
14111421

@@ -1501,6 +1511,7 @@ Here's an example:
15011511

15021512
### Example Usage
15031513

1514+
<!-- UsageSnippet language="typescript" operationID="patchAIConfigVariation" method="patch" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}" -->
15041515
```typescript
15051516
import { LaunchDarkly } from "@launchdarkly/mcp-server";
15061517

docs/sdks/featureflags/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ To learn more, read [Migration Flags](https://launchdarkly.com/docs/home/flags/m
8181

8282
### Example Usage
8383

84+
<!-- UsageSnippet language="typescript" operationID="getFeatureFlags" method="get" path="/api/v2/flags/{projectKey}" -->
8485
```typescript
8586
import { LaunchDarkly } from "@launchdarkly/mcp-server";
8687

@@ -185,6 +186,7 @@ To learn more, read [Migration Flags](https://launchdarkly.com/docs/home/flags/m
185186

186187
### Example Usage
187188

189+
<!-- UsageSnippet language="typescript" operationID="postFeatureFlag" method="post" path="/api/v2/flags/{projectKey}" -->
188190
```typescript
189191
import { LaunchDarkly } from "@launchdarkly/mcp-server";
190192

@@ -291,6 +293,7 @@ For example, `expand=evaluation` includes the `evaluation` field in the response
291293

292294
### Example Usage
293295

296+
<!-- UsageSnippet language="typescript" operationID="getFeatureFlag" method="get" path="/api/v2/flags/{projectKey}/{featureFlagKey}" -->
294297
```typescript
295298
import { LaunchDarkly } from "@launchdarkly/mcp-server";
296299

@@ -1558,6 +1561,7 @@ To learn more, read [Migration flags](https://launchdarkly.com/docs/home/flags/m
15581561

15591562
### Example Usage
15601563

1564+
<!-- UsageSnippet language="typescript" operationID="patchFeatureFlag" method="patch" path="/api/v2/flags/{projectKey}/{featureFlagKey}" -->
15611565
```typescript
15621566
import { LaunchDarkly } from "@launchdarkly/mcp-server";
15631567

@@ -1656,6 +1660,7 @@ Delete a feature flag in all environments. Use with caution: only delete feature
16561660

16571661
### Example Usage
16581662

1663+
<!-- UsageSnippet language="typescript" operationID="deleteFeatureFlag" method="delete" path="/api/v2/flags/{projectKey}/{featureFlagKey}" -->
16591664
```typescript
16601665
import { LaunchDarkly } from "@launchdarkly/mcp-server";
16611666

examples/.env.template

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
# The SDK supports loading security credentials from environment variables
77
# with the prefix: LAUNCHDARKLY_
88
#
9-
# Example security environment variables:
10-
# LAUNCHDARKLY_API_KEY=your_api_key_here
11-
# LAUNCHDARKLY_BEARER_TOKEN=your_bearer_token_here
12-
# LAUNCHDARKLY_USERNAME=your_username_here
13-
# LAUNCHDARKLY_PASSWORD=your_password_here
14-
#
15-
# Check the SDK documentation for the exact environment variable names
16-
# required for your specific authentication method.
9+
# Security environment variables:
10+
LAUNCHDARKLY_API_KEY=your_api_key_here
11+
12+
# Debug Configuration
13+
# Enable HTTP request/response logging for debugging
14+
LAUNCHDARKLY_DEBUG=false

examples/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ To run an example file from the examples directory:
2424
npm run build && npx tsx example.ts
2525
```
2626

27+
## Creating new examples
28+
29+
Duplicate an existing example file, they won't be overwritten by the generation process.
30+
31+

examples/featureFlagsList.example.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
33
*/
44

5+
import dotenv from "dotenv";
6+
dotenv.config();
57
/**
68
* Example usage of the @launchdarkly/mcp-server SDK
79
*

examples/package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)