Skip to content

Commit b464493

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b05f561 of spec repo
1 parent 865f960 commit b464493

File tree

2 files changed

+26
-44
lines changed

2 files changed

+26
-44
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -91322,21 +91322,18 @@ paths:
9132291322
security:
9132391323
- apiKeyAuth: []
9132491324
servers:
91325-
- url: https://{subdomain}.{site}
91325+
- url: https://{name}
9132691326
variables:
91327-
site:
91328-
default: datadoghq.com
91329-
description: The regional site for customers.
91327+
name:
91328+
default: browser-intake-datadoghq.com
91329+
description: The intake domain for the regional site.
9133091330
enum:
91331-
- datadoghq.com
91332-
- us3.datadoghq.com
91333-
- us5.datadoghq.com
91334-
- ap1.datadoghq.com
91335-
- ap2.datadoghq.com
91336-
- datadoghq.eu
91337-
subdomain:
91338-
default: browser-intake
91339-
description: The subdomain where the API is deployed.
91331+
- browser-intake-datadoghq.com
91332+
- browser-intake-us3-datadoghq.com
91333+
- browser-intake-us5-datadoghq.com
91334+
- browser-intake-ap1-datadoghq.com
91335+
- browser-intake-ap2-datadoghq.com
91336+
- browser-intake-datadoghq.eu
9134091337
- url: '{protocol}://{name}'
9134191338
variables:
9134291339
name:
@@ -91345,14 +91342,11 @@ paths:
9134591342
protocol:
9134691343
default: https
9134791344
description: The protocol for accessing the API.
91348-
- url: https://{subdomain}.{site}
91345+
- url: https://{name}
9134991346
variables:
91350-
site:
91351-
default: datadoghq.com
91347+
name:
91348+
default: browser-intake-datadoghq.com
9135291349
description: Any Datadog deployment.
91353-
subdomain:
91354-
default: browser-intake
91355-
description: The subdomain where the API is deployed.
9135691350
summary: Send server-side events
9135791351
tags:
9135891352
- Product Analytics

src/main/java/com/datadog/api/client/ApiClient.java

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -671,29 +671,23 @@ public class ApiClient {
671671
new ArrayList<ServerConfiguration>(
672672
Arrays.asList(
673673
new ServerConfiguration(
674-
"https://{subdomain}.{site}",
674+
"https://{name}",
675675
"No description provided",
676676
new HashMap<String, ServerVariable>() {
677677
{
678678
put(
679-
"site",
679+
"name",
680680
new ServerVariable(
681-
"The regional site for customers.",
682-
"datadoghq.com",
681+
"The intake domain for the regional site.",
682+
"browser-intake-datadoghq.com",
683683
new HashSet<String>(
684684
Arrays.asList(
685-
"datadoghq.com",
686-
"us3.datadoghq.com",
687-
"us5.datadoghq.com",
688-
"ap1.datadoghq.com",
689-
"ap2.datadoghq.com",
690-
"datadoghq.eu"))));
691-
put(
692-
"subdomain",
693-
new ServerVariable(
694-
"The subdomain where the API is deployed.",
695-
"browser-intake",
696-
new HashSet<String>()));
685+
"browser-intake-datadoghq.com",
686+
"browser-intake-us3-datadoghq.com",
687+
"browser-intake-us5-datadoghq.com",
688+
"browser-intake-ap1-datadoghq.com",
689+
"browser-intake-ap2-datadoghq.com",
690+
"browser-intake-datadoghq.eu"))));
697691
}
698692
}),
699693
new ServerConfiguration(
@@ -716,21 +710,15 @@ public class ApiClient {
716710
}
717711
}),
718712
new ServerConfiguration(
719-
"https://{subdomain}.{site}",
713+
"https://{name}",
720714
"No description provided",
721715
new HashMap<String, ServerVariable>() {
722716
{
723717
put(
724-
"site",
718+
"name",
725719
new ServerVariable(
726720
"Any Datadog deployment.",
727-
"datadoghq.com",
728-
new HashSet<String>()));
729-
put(
730-
"subdomain",
731-
new ServerVariable(
732-
"The subdomain where the API is deployed.",
733-
"browser-intake",
721+
"browser-intake-datadoghq.com",
734722
new HashSet<String>()));
735723
}
736724
}))));

0 commit comments

Comments
 (0)