Skip to content

Commit 0539875

Browse files
author
LaunchDarklyReleaseBot
committed
Version 18.0.1 automatically generated from ld-openapi.
1 parent 56dd5b5 commit 0539875

File tree

598 files changed

+789
-625
lines changed

Some content is hidden

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

598 files changed

+789
-625
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This client library is only compatible with the latest version of our REST API.
88

99
LaunchDarkly REST API
1010
- API version: 2.0
11-
- Build date: 2025-10-15T16:38:59.541967Z[Etc/UTC]
11+
- Build date: 2025-10-16T16:00:59.734193Z[Etc/UTC]
1212
- Generator version: 7.16.0
1313

1414
This documentation describes LaunchDarkly's REST API. To access the complete OpenAPI spec directly, use [Get OpenAPI spec](https://launchdarkly.com/docs/api/other/get-openapi-spec).
@@ -483,7 +483,7 @@ Add this dependency to your project's POM:
483483
<dependency>
484484
<groupId>com.launchdarkly</groupId>
485485
<artifactId>api-client</artifactId>
486-
<version>18.0.0</version>
486+
<version>18.0.1</version>
487487
<scope>compile</scope>
488488
</dependency>
489489
```
@@ -499,7 +499,7 @@ Add this dependency to your project's build file:
499499
}
500500
501501
dependencies {
502-
implementation "com.launchdarkly:api-client:18.0.0"
502+
implementation "com.launchdarkly:api-client:18.0.1"
503503
}
504504
```
505505

@@ -513,7 +513,7 @@ mvn clean package
513513

514514
Then manually install the following JARs:
515515

516-
* `target/api-client-18.0.0.jar`
516+
* `target/api-client-18.0.1.jar`
517517
* `target/lib/*.jar`
518518

519519
## Getting Started

api/openapi.yaml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10825,7 +10825,7 @@ paths:
1082510825
- description: "A comma-separated list of properties that can reveal additional\
1082610826
\ information in the response. Supported fields are `experiments`, `experimentCount`,\
1082710827
\ `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`,\
10828-
\ `guardedRolloutCount`, and `lastUsedInEntity`."
10828+
\ `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`."
1082910829
explode: true
1083010830
in: query
1083110831
name: expand
@@ -10834,7 +10834,7 @@ paths:
1083410834
description: "A comma-separated list of properties that can reveal additional\
1083510835
\ information in the response. Supported fields are `experiments`, `experimentCount`,\
1083610836
\ `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`,\
10837-
\ `guardedRolloutCount`, and `lastUsedInEntity`."
10837+
\ `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`."
1083810838
format: string
1083910839
type: string
1084010840
style: form
@@ -56809,6 +56809,7 @@ components:
5680956809
self:
5681056810
href: /api/v2/projects/my-project/metric-groups/my-metric-group
5681156811
type: application/json
56812+
totalConnectionsCount: 0
5681256813
kind: funnel
5681356814
experiments:
5681456815
- archivedDate: 5
@@ -56838,6 +56839,9 @@ components:
5683856839
key: experiment-key-123abc
5683956840
environmentKey: production
5684056841
description: Description of the metric group
56842+
activeExperimentCount: 0
56843+
activeGuardedRolloutCount: 0
56844+
totalActiveConnectionsCount: 0
5684156845
_creationDate: 0
5684256846
maintainer:
5684356847
member:
@@ -56962,6 +56966,7 @@ components:
5696256966
self:
5696356967
href: /api/v2/projects/my-project/metric-groups/my-metric-group
5696456968
type: application/json
56969+
totalConnectionsCount: 0
5696556970
kind: funnel
5696656971
experiments:
5696756972
- archivedDate: 5
@@ -56991,6 +56996,9 @@ components:
5699156996
key: experiment-key-123abc
5699256997
environmentKey: production
5699356998
description: Description of the metric group
56999+
activeExperimentCount: 0
57000+
activeGuardedRolloutCount: 0
57001+
totalActiveConnectionsCount: 0
5699457002
_creationDate: 0
5699557003
maintainer:
5699657004
member:
@@ -57198,6 +57206,7 @@ components:
5719857206
self:
5719957207
href: /api/v2/projects/my-project/metric-groups/my-metric-group
5720057208
type: application/json
57209+
totalConnectionsCount: 0
5720157210
kind: funnel
5720257211
experiments:
5720357212
- archivedDate: 5
@@ -57227,6 +57236,9 @@ components:
5722757236
key: experiment-key-123abc
5722857237
environmentKey: production
5722957238
description: Description of the metric group
57239+
activeExperimentCount: 0
57240+
activeGuardedRolloutCount: 0
57241+
totalActiveConnectionsCount: 0
5723057242
_creationDate: 0
5723157243
maintainer:
5723257244
member:
@@ -57415,6 +57427,22 @@ components:
5741557427
description: The number of experiments using this metric group
5741657428
example: 0
5741757429
type: integer
57430+
activeExperimentCount:
57431+
description: The number of active experiments using this metric group
57432+
example: 0
57433+
type: integer
57434+
activeGuardedRolloutCount:
57435+
description: The number of active guarded rollouts using this metric group
57436+
example: 0
57437+
type: integer
57438+
totalConnectionsCount:
57439+
description: The total number of connections using this metric group
57440+
example: 0
57441+
type: integer
57442+
totalActiveConnectionsCount:
57443+
description: The total number of active connections using this metric group
57444+
example: 0
57445+
type: integer
5741857446
required:
5741957447
- _creationDate
5742057448
- _id

build.gradle

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ plugins {
2222
id 'java'
2323
id 'maven-publish'
2424
id 'signing'
25-
id 'io.codearte.nexus-staging' version '0.12.0'
25+
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
2626
id 'org.ajoberstar.git-publish' version '3.0.0'
2727
}
2828

@@ -36,7 +36,7 @@ def centralPortalPassword = hasProperty('centralPortalPassword') ? centralPortal
3636

3737
allprojects {
3838
group = 'com.launchdarkly'
39-
version = '18.0.0'
39+
version = '18.0.1'
4040
archivesBaseName = 'api-client'
4141
sourceCompatibility = 1.8
4242
targetCompatibility = 1.8
@@ -88,23 +88,7 @@ if (JavaVersion.current().isJava8Compatible()) {
8888
}
8989
}
9090

91-
nexusStaging {
92-
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/"
93-
packageGroup = "com.launchdarkly"
94-
username = centralPortalUsername
95-
password = centralPortalPassword
96-
}
97-
9891
publishing {
99-
repositories {
100-
maven {
101-
url = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
102-
credentials {
103-
username = centralPortalUsername
104-
password = centralPortalPassword
105-
}
106-
}
107-
}
10892
publications {
10993
mavenJava(MavenPublication) {
11094
from components.java
@@ -146,3 +130,15 @@ publishing {
146130
signing {
147131
sign publishing.publications.mavenJava
148132
}
133+
134+
nexusPublishing {
135+
packageGroup = "com.launchdarkly"
136+
repositories {
137+
sonatype {
138+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
139+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
140+
username = centralPortalUsername
141+
password = centralPortalPassword
142+
}
143+
}
144+
}

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.launchdarkly",
44
name := "api-client",
5-
version := "18.0.0",
5+
version := "18.0.1",
66
scalaVersion := "2.11.12",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),

docs/MetricGroupRep.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
|**version** | **Integer** | The version of this metric group | |
2323
|**experiments** | [**List&lt;DependentExperimentRep&gt;**](DependentExperimentRep.md) | | [optional] |
2424
|**experimentCount** | **Integer** | The number of experiments using this metric group | [optional] |
25+
|**activeExperimentCount** | **Integer** | The number of active experiments using this metric group | [optional] |
26+
|**activeGuardedRolloutCount** | **Integer** | The number of active guarded rollouts using this metric group | [optional] |
27+
|**totalConnectionsCount** | **Integer** | The total number of connections using this metric group | [optional] |
28+
|**totalActiveConnectionsCount** | **Integer** | The total number of active connections using this metric group | [optional] |
2529

2630

2731

docs/MetricsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public class Example {
117117
MetricsApi apiInstance = new MetricsApi(defaultClient);
118118
String projectKey = "projectKey_example"; // String | The project key
119119
String metricKey = "metricKey_example"; // String | The metric key
120-
String expand = "expand_example"; // String | A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
120+
String expand = "expand_example"; // String | A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
121121
String versionId = "versionId_example"; // String | The specific version ID of the metric
122122
try {
123123
MetricRep result = apiInstance.getMetric(projectKey, metricKey, expand, versionId);
@@ -139,7 +139,7 @@ public class Example {
139139
|------------- | ------------- | ------------- | -------------|
140140
| **projectKey** | **String**| The project key | |
141141
| **metricKey** | **String**| The metric key | |
142-
| **expand** | **String**| A comma-separated list of properties that can reveal additional information in the response. Supported fields are &#x60;experiments&#x60;, &#x60;experimentCount&#x60;, &#x60;metricGroups&#x60;, &#x60;metricGroupCount&#x60;, &#x60;eventSources&#x60;, &#x60;guardedRollouts&#x60;, &#x60;guardedRolloutCount&#x60;, and &#x60;lastUsedInEntity&#x60;. | [optional] |
142+
| **expand** | **String**| A comma-separated list of properties that can reveal additional information in the response. Supported fields are &#x60;experiments&#x60;, &#x60;experimentCount&#x60;, &#x60;metricGroups&#x60;, &#x60;metricGroupCount&#x60;, &#x60;eventSources&#x60;, &#x60;guardedRollouts&#x60;, &#x60;guardedRolloutCount&#x60;, &#x60;lastUsedInExperiment&#x60;, and &#x60;lastUsedInGuardedRollout&#x60;. | [optional] |
143143
| **versionId** | **String**| The specific version ID of the metric | [optional] |
144144

145145
### Return type

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>api-client</artifactId>
66
<packaging>jar</packaging>
77
<name>api-client</name>
8-
<version>18.0.0</version>
8+
<version>18.0.1</version>
99
<url>https://github.com/launchdarkly/api-client-java</url>
1010
<description>Build custom integrations with the LaunchDarkly REST API</description>
1111
<scm>

src/main/java/com/launchdarkly/api/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected void init() {
146146
json = new JSON();
147147

148148
// Set default User-Agent.
149-
setUserAgent("OpenAPI-Generator/18.0.0/java");
149+
setUserAgent("OpenAPI-Generator/18.0.1/java");
150150

151151
authentications = new HashMap<String, Authentication>();
152152
}

src/main/java/com/launchdarkly/api/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* <p>ApiException class.</p>
2323
*/
2424
@SuppressWarnings("serial")
25-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-15T16:38:59.541967Z[Etc/UTC]", comments = "Generator version: 7.16.0")
25+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:00:59.734193Z[Etc/UTC]", comments = "Generator version: 7.16.0")
2626
public class ApiException extends Exception {
2727
private static final long serialVersionUID = 1L;
2828

src/main/java/com/launchdarkly/api/Configuration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
import java.util.concurrent.atomic.AtomicReference;
1818
import java.util.function.Supplier;
1919

20-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-15T16:38:59.541967Z[Etc/UTC]", comments = "Generator version: 7.16.0")
20+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:00:59.734193Z[Etc/UTC]", comments = "Generator version: 7.16.0")
2121
public class Configuration {
22-
public static final String VERSION = "18.0.0";
22+
public static final String VERSION = "18.0.1";
2323

2424
private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
2525
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;

0 commit comments

Comments
 (0)