Skip to content

Commit 97e59ae

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.636.2
1 parent b175382 commit 97e59ae

40 files changed

+122
-513
lines changed

.devcontainer/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/instal
77
rmdir samples || true
88
mkdir samples
99

10-
npm install
11-
npm install -g ts-node
10+
npm install --ignore-scripts
11+
npm install -g ts-node --ignore-scripts
1212
npm link
1313
npm link @launchdarkly/mcp-server
1414
TS_CONFIG_CONTENT=$(cat <<EOL

.speakeasy/gen.lock

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@ 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.636.2
7+
generationVersion: 2.723.8
8+
releaseVersion: 0.5.0
9+
configChecksum: 70e71e7f96b32d933f98a14c6e4427b3
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.26
1818
defaultEnabledRetries: 0.1.0
1919
deprecations: 2.81.1
20-
devContainers: 2.90.0
20+
devContainers: 2.90.1
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.1.2
23-
globalSecurity: 2.82.13
23+
globalSecurity: 2.82.14
2424
globalSecurityCallbacks: 0.1.0
2525
globalSecurityFlattening: 0.1.0
2626
globalServerURLs: 2.82.5
27-
groups: 2.81.2
27+
groups: 2.81.3
2828
ignores: 2.81.1
2929
mcpServer: 0.9.3
3030
nameOverrides: 2.81.2
3131
responseFormat: 0.2.3
3232
retries: 2.83.0
3333
sdkHooks: 0.3.0
34-
unions: 2.85.11
34+
unions: 2.86.0
3535
generatedFiles:
3636
- .devcontainer/README.md
3737
- .devcontainer/devcontainer.json
@@ -188,7 +188,6 @@ generatedFiles:
188188
- docs/models/operations/postfeatureflagrequest.md
189189
- docs/sdks/aiconfigs/README.md
190190
- docs/sdks/featureflags/README.md
191-
- docs/sdks/launchdarkly/README.md
192191
- eslint.config.mjs
193192
- examples/.env.template
194193
- examples/README.md

.speakeasy/gen.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: false
2121
oAuth2PasswordEnabled: false
22+
hoistGlobalSecurity: true
2223
tests:
2324
generateTests: true
2425
generateNewTests: false
2526
skipResponseBodyAssertions: false
2627
typescript:
27-
version: 0.4.0
28+
version: 0.5.0
29+
acceptHeaderEnum: true
2830
additionalDependencies:
2931
dependencies: {}
3032
devDependencies: {}
@@ -62,9 +64,12 @@ typescript:
6264
jsonpath: rfc9535
6365
maxMethodParams: 0
6466
methodArguments: require-security-and-request
67+
modelPropertyCasing: camel
6568
moduleFormat: dual
6669
outputModelSuffix: output
6770
packageName: '@launchdarkly/mcp-server'
6871
responseFormat: flat
72+
sseFlatResponse: false
6973
templateVersion: v2
74+
usageSDKInitImports: []
7075
useIndexModules: true

.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.636.2
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

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
160160
* [patch](docs/sdks/featureflags/README.md#patch) - Update feature flag
161161
* [delete](docs/sdks/featureflags/README.md#delete) - Delete feature flag
162162

163-
164163
</details>
165164
<!-- End Available Resources and Operations [operations] -->
166165

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-10-09 00:10:12
80+
### Changes
81+
Based on:
82+
- OpenAPI Doc
83+
- Speakeasy CLI 1.636.2 (2.723.8) https://github.com/speakeasy-api/speakeasy
84+
### Generated
85+
- [typescript v0.5.0] .
86+
### Releases
87+
- [NPM v0.5.0] https://www.npmjs.com/package/@launchdarkly/mcp-server/v/0.5.0 - .

RUNTIMES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:
44

5-
* [Web Fetch API][web-fetch]
6-
* [Web Streams API][web-streams] and in particular `ReadableStream`
7-
* [Async iterables][async-iter] using `Symbol.asyncIterator`
5+
- [Web Fetch API][web-fetch]
6+
- [Web Streams API][web-streams] and in particular `ReadableStream`
7+
- [Async iterables][async-iter] using `Symbol.asyncIterator`
88

99
[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
1010
[web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API
@@ -25,7 +25,7 @@ Runtime environments that are explicitly supported are:
2525

2626
The following `tsconfig.json` options are recommended for projects using this
2727
SDK in order to get static type support for features like async iterables,
28-
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
28+
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
2929
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
3030
so on):
3131

@@ -38,11 +38,11 @@ so on):
3838
{
3939
"compilerOptions": {
4040
"target": "es2020", // or higher
41-
"lib": ["es2020", "dom", "dom.iterable"],
41+
"lib": ["es2020", "dom", "dom.iterable"]
4242
}
4343
}
4444
```
4545

4646
While `target` can be set to older ECMAScript versions, it may result in extra,
4747
unnecessary compatibility code being generated if you are not targeting old
48-
runtimes.
48+
runtimes.

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

0 commit comments

Comments
 (0)