Skip to content

Commit 05c2613

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.660.0
1 parent b50d7f8 commit 05c2613

File tree

182 files changed

+373
-3128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+373
-3128
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: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@ id: cc3a5766-8b39-40da-a0be-fff57173d8e1
33
management:
44
docChecksum: 75d07115da631245e6b9951136727d0f
55
docVersion: "2.0"
6-
speakeasyVersion: 1.580.0
7-
generationVersion: 2.654.2
8-
releaseVersion: 0.4.2
9-
configChecksum: 024bcd611bb1b466d728403f71b3b046
6+
speakeasyVersion: 1.660.0
7+
generationVersion: 2.760.2
8+
releaseVersion: 0.5.0
9+
configChecksum: b5f799162a3ca99445323438767a2cd0
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.26.9
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
26-
globalServerURLs: 2.82.5
27-
groups: 2.81.2
26+
globalServerURLs: 2.83.0
27+
groups: 2.81.3
2828
ignores: 2.81.1
2929
mcpServer: 0.9.3
3030
nameOverrides: 2.81.2
3131
nullables: 0.1.1
3232
responseFormat: 0.2.3
3333
retries: 2.83.0
3434
sdkHooks: 0.3.0
35-
unions: 2.85.11
35+
unions: 2.86.0
3636
generatedFiles:
3737
- .devcontainer/README.md
3838
- .devcontainer/devcontainer.json
@@ -206,7 +206,6 @@ generatedFiles:
206206
- docs/sdks/codereferences/README.md
207207
- docs/sdks/environments/README.md
208208
- docs/sdks/featureflags/README.md
209-
- docs/sdks/launchdarkly/README.md
210209
- eslint.config.mjs
211210
- examples/.env.template
212211
- examples/README.md
@@ -432,6 +431,7 @@ generatedFiles:
432431
- src/types/operations.ts
433432
- src/types/rfcdate.ts
434433
- src/types/streams.ts
434+
- src/types/unrecognized.ts
435435
- tsconfig.json
436436
examples:
437437
getRoot:

.speakeasy/gen.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: false
2121
oAuth2PasswordEnabled: false
22+
hoistGlobalSecurity: true
23+
schemas:
24+
allOfMergeStrategy: shallowMerge
25+
requestBodyFieldName: ""
2226
tests:
2327
generateTests: true
2428
generateNewTests: false
2529
skipResponseBodyAssertions: false
2630
typescript:
27-
version: 0.4.2
31+
version: 0.5.0
32+
acceptHeaderEnum: true
2833
additionalDependencies:
2934
dependencies: {}
3035
devDependencies: {}
@@ -37,6 +42,8 @@ typescript:
3742
- mcp
3843
- modelcontextprotocol
3944
license: MIT
45+
additionalScripts: {}
46+
alwaysIncludeInboundAndOutbound: false
4047
author: LaunchDarkly
4148
baseErrorName: LaunchDarklyError
4249
clientServerStatusCodesAsErrors: true
@@ -47,8 +54,10 @@ typescript:
4754
enableReactQuery: false
4855
enumFormat: union
4956
envVarPrefix: LAUNCHDARKLY
57+
exportZodModelNamespace: false
5058
flattenGlobalSecurity: true
5159
flatteningOrder: parameters-first
60+
forwardCompatibleEnumsByDefault: false
5261
generateExamples: true
5362
imports:
5463
option: openapi
@@ -60,11 +69,17 @@ typescript:
6069
webhooks: models/webhooks
6170
inputModelSuffix: input
6271
jsonpath: rfc9535
72+
laxMode: strict
6373
maxMethodParams: 0
6474
methodArguments: require-security-and-request
75+
modelPropertyCasing: camel
6576
moduleFormat: dual
6677
outputModelSuffix: output
6778
packageName: '@launchdarkly/mcp-server'
6879
responseFormat: flat
80+
sseFlatResponse: false
6981
templateVersion: v2
82+
unionStrategy: left-to-right
83+
usageSDKInitImports: []
7084
useIndexModules: true
85+
zodVersion: v3

.speakeasy/workflow.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
speakeasyVersion: 1.580.0
1+
speakeasyVersion: 1.660.0
22
sources:
33
LaunchDarkly REST API:
44
sourceNamespace: launchdarkly-rest-api
55
sourceRevisionDigest: sha256:1868673c9276536f547b28da2d496ef29e98642910836bdb4aac97a8a7407bb8
66
sourceBlobDigest: sha256:629c41ee8c6344e7a1122e74c9fd56d8cdf0581428e1baf659cb3812c1ac871a
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1752106275
910
- "2.0"
1011
targets:
1112
launchdarkly-mcp-server:
@@ -14,7 +15,7 @@ targets:
1415
sourceRevisionDigest: sha256:1868673c9276536f547b28da2d496ef29e98642910836bdb4aac97a8a7407bb8
1516
sourceBlobDigest: sha256:629c41ee8c6344e7a1122e74c9fd56d8cdf0581428e1baf659cb3812c1ac871a
1617
codeSamplesNamespace: launchdarkly-rest-api-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:bb64ea7b196a1e4d87408c6a5b64b013ad437af9d8b015036abf4567b74f6492
18+
codeSamplesRevisionDigest: sha256:d045745a29901b30ce4b472c33e85c5ae0906fe4ef4a54be182f1b218ce44c45
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: 1.580.0

README.md

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

225-
226225
</details>
227226
<!-- End Available Resources and Operations [operations] -->
228227

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-11-22 00:10:30
80+
### Changes
81+
Based on:
82+
- OpenAPI Doc
83+
- Speakeasy CLI 1.660.0 (2.760.2) 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/codereferences/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Get a list of connected repositories. Optionally, you can include branch metadat
1313

1414
### Example Usage
1515

16+
<!-- UsageSnippet language="typescript" operationID="getRepositories" method="get" path="/api/v2/code-refs/repositories" -->
1617
```typescript
1718
import { LaunchDarkly } from "@launchdarkly/mcp-server";
1819

docs/sdks/environments/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ For example, `sort=name` sorts the response by environment name in ascending ord
3939

4040
### Example Usage
4141

42+
<!-- UsageSnippet language="typescript" operationID="getEnvironmentsByProject" method="get" path="/api/v2/projects/{projectKey}/environments" -->
4243
```typescript
4344
import { LaunchDarkly } from "@launchdarkly/mcp-server";
4445

0 commit comments

Comments
 (0)