Skip to content

Commit f8f6c0f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix broken browser-intake server URLs for product analytics (#3524)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent ff10f6d commit f8f6c0f

File tree

2 files changed

+20
-29
lines changed

2 files changed

+20
-29
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95571,21 +95571,18 @@ paths:
9557195571
security:
9557295572
- apiKeyAuth: []
9557395573
servers:
95574-
- url: https://{subdomain}.{site}
95574+
- url: https://{site}
9557595575
variables:
9557695576
site:
95577-
default: datadoghq.com
95578-
description: The regional site for customers.
95577+
default: browser-intake-datadoghq.com
95578+
description: The intake domain for the regional site.
9557995579
enum:
95580-
- datadoghq.com
95581-
- us3.datadoghq.com
95582-
- us5.datadoghq.com
95583-
- ap1.datadoghq.com
95584-
- ap2.datadoghq.com
95585-
- datadoghq.eu
95586-
subdomain:
95587-
default: browser-intake
95588-
description: The subdomain where the API is deployed.
95580+
- browser-intake-datadoghq.com
95581+
- browser-intake-us3-datadoghq.com
95582+
- browser-intake-us5-datadoghq.com
95583+
- browser-intake-ap1-datadoghq.com
95584+
- browser-intake-ap2-datadoghq.com
95585+
- browser-intake-datadoghq.eu
9558995586
- url: '{protocol}://{name}'
9559095587
variables:
9559195588
name:
@@ -95600,7 +95597,7 @@ paths:
9560095597
default: datadoghq.com
9560195598
description: Any Datadog deployment.
9560295599
subdomain:
95603-
default: browser-intake
95600+
default: api
9560495601
description: The subdomain where the API is deployed.
9560595602
summary: Send server-side events
9560695603
tags:

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

Lines changed: 10 additions & 16 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://{site}",
675675
"No description provided",
676676
new HashMap<String, ServerVariable>() {
677677
{
678678
put(
679679
"site",
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(
@@ -730,7 +724,7 @@ public class ApiClient {
730724
"subdomain",
731725
new ServerVariable(
732726
"The subdomain where the API is deployed.",
733-
"browser-intake",
727+
"api",
734728
new HashSet<String>()));
735729
}
736730
}))));

0 commit comments

Comments
 (0)