Skip to content

Commit 4c09df6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8c91ede of spec repo
1 parent efc2ab4 commit 4c09df6

6 files changed

Lines changed: 685 additions & 229 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 127 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -35651,21 +35651,6 @@ components:
3565135651
format: int64
3565235652
type: integer
3565335653
type: object
35654-
DeviceTagsBySource:
35655-
description: Tags associated with a device from a specific source.
35656-
properties:
35657-
source:
35658-
description: The source of the tags.
35659-
example: user
35660-
type: string
35661-
tags:
35662-
description: The list of tags for the source.
35663-
example: ["tag:test", "tag:testbis"]
35664-
items:
35665-
description: A tag string in `key:value` format.
35666-
type: string
35667-
type: array
35668-
type: object
3566935654
DevicesListData:
3567035655
description: The devices list data
3567135656
properties:
@@ -66483,12 +66468,6 @@ components:
6648366468
ListTagsResponseDataAttributes:
6648466469
description: The definition of ListTagsResponseDataAttributes object.
6648566470
properties:
66486-
by_source:
66487-
description: The list of device tags grouped by source.
66488-
items:
66489-
$ref: "#/components/schemas/DeviceTagsBySource"
66490-
readOnly: true
66491-
type: array
6649266471
tags:
6649366472
description: The list of tags
6649466473
example: ["tag:test", "tag:testbis"]
@@ -73646,6 +73625,55 @@ components:
7364673625
required:
7364773626
- data
7364873627
type: object
73628+
OIDCDiscoveryDocument:
73629+
description: OpenID Connect provider metadata.
73630+
properties:
73631+
authorization_endpoint:
73632+
description: URL of the OAuth2 authorization endpoint.
73633+
example: https://app.datadoghq.com/oauth2/v1/authorize
73634+
type: string
73635+
id_token_signing_alg_values_supported:
73636+
description: Signing algorithms supported for ID tokens.
73637+
example:
73638+
- RS256
73639+
items:
73640+
type: string
73641+
type: array
73642+
issuer:
73643+
description: URL identifying the OpenID Connect issuer.
73644+
example: https://app.datadoghq.com/api/v2/oauth2
73645+
type: string
73646+
jwks_uri:
73647+
description: URL of the JSON Web Key Set used to verify ID token signatures.
73648+
example: https://app.datadoghq.com/oauth2/v1/keys
73649+
type: string
73650+
response_types_supported:
73651+
description: OAuth2 response types supported by the provider.
73652+
example:
73653+
- code
73654+
items:
73655+
type: string
73656+
type: array
73657+
subject_types_supported:
73658+
description: Subject identifier types supported by the provider.
73659+
example:
73660+
- public
73661+
items:
73662+
type: string
73663+
type: array
73664+
token_endpoint:
73665+
description: URL of the OAuth2 token endpoint.
73666+
example: https://app.datadoghq.com/api/v2/oauth2/token
73667+
type: string
73668+
required:
73669+
- issuer
73670+
- authorization_endpoint
73671+
- token_endpoint
73672+
- jwks_uri
73673+
- response_types_supported
73674+
- subject_types_supported
73675+
- id_token_signing_alg_values_supported
73676+
type: object
7364973677
ObservabilityPipeline:
7365073678
description: Top-level schema representing a pipeline.
7365173679
properties:
@@ -182907,20 +182935,6 @@ paths:
182907182935
content:
182908182936
application/json:
182909182937
examples:
182910-
by_source:
182911-
value:
182912-
data:
182913-
attributes:
182914-
by_source:
182915-
- source: user
182916-
tags:
182917-
- "tag:test"
182918-
- "tag:testbis"
182919-
- source: snmp
182920-
tags:
182921-
- "device_ip:1.2.3.4"
182922-
id: foiwf7rgw38fh
182923-
type: tags
182924182938
default:
182925182939
value:
182926182940
data:
@@ -183358,6 +183372,84 @@ paths:
183358183372
operator: OR
183359183373
permissions:
183360183374
- network_connections_read
183375+
/api/v2/oauth2/.well-known/openid-configuration:
183376+
get:
183377+
description: Retrieve OpenID Connect provider metadata for the OAuth2 v2 token endpoint.
183378+
operationId: GetOIDCDiscoveryDocument
183379+
responses:
183380+
"200":
183381+
content:
183382+
application/json:
183383+
examples:
183384+
default:
183385+
value:
183386+
authorization_endpoint: https://app.datadoghq.com/oauth2/v1/authorize
183387+
id_token_signing_alg_values_supported:
183388+
- RS256
183389+
issuer: https://app.datadoghq.com/api/v2/oauth2
183390+
jwks_uri: https://app.datadoghq.com/oauth2/v1/keys
183391+
response_types_supported:
183392+
- code
183393+
subject_types_supported:
183394+
- public
183395+
token_endpoint: https://app.datadoghq.com/api/v2/oauth2/token
183396+
schema:
183397+
$ref: "#/components/schemas/OIDCDiscoveryDocument"
183398+
description: OK
183399+
"429":
183400+
$ref: "#/components/responses/TooManyRequestsResponse"
183401+
security: []
183402+
servers:
183403+
- url: https://{subdomain}.{site}
183404+
variables:
183405+
site:
183406+
default: datadoghq.com
183407+
description: The regional site for Datadog customers.
183408+
enum:
183409+
- datadoghq.com
183410+
- us3.datadoghq.com
183411+
- us5.datadoghq.com
183412+
- ap1.datadoghq.com
183413+
- ap2.datadoghq.com
183414+
- uk1.datadoghq.com
183415+
- datadoghq.eu
183416+
- ddog-gov.com
183417+
- us2.ddog-gov.com
183418+
x-enum-varnames:
183419+
- US1
183420+
- US3
183421+
- US5
183422+
- AP1
183423+
- AP2
183424+
- UK1
183425+
- EU1
183426+
- GOV
183427+
- US2_GOV
183428+
subdomain:
183429+
default: app
183430+
description: The subdomain where the API is deployed.
183431+
- url: "{protocol}://{name}"
183432+
variables:
183433+
name:
183434+
default: app.datadoghq.com
183435+
description: Full site DNS name.
183436+
protocol:
183437+
default: https
183438+
description: The protocol for accessing the API.
183439+
- url: https://{subdomain}.{site}
183440+
variables:
183441+
site:
183442+
default: datadoghq.com
183443+
description: Any Datadog deployment.
183444+
subdomain:
183445+
default: app
183446+
description: The subdomain where the API is deployed.
183447+
summary: Get OpenID Connect provider metadata
183448+
tags:
183449+
- OAuth2 Client Public
183450+
x-unstable: |-
183451+
**Note**: This endpoint is in preview and is subject to change.
183452+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
183361183453
/api/v2/oauth2/.well-known/sites:
183362183454
get:
183363183455
description: Retrieve the list of public OAuth2 sites available for the current environment. This endpoint is used for OAuth2 discovery and returns sites where users can authenticate.

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,77 @@ public class ApiClient {
430430
new HashSet<String>()));
431431
}
432432
}))));
433+
put(
434+
"v2.OAuth2ClientPublicApi.getOIDCDiscoveryDocument",
435+
new ArrayList<ServerConfiguration>(
436+
Arrays.asList(
437+
new ServerConfiguration(
438+
"https://{subdomain}.{site}",
439+
"No description provided",
440+
new HashMap<String, ServerVariable>() {
441+
{
442+
put(
443+
"site",
444+
new ServerVariable(
445+
"The regional site for Datadog customers.",
446+
"datadoghq.com",
447+
new HashSet<String>(
448+
Arrays.asList(
449+
"datadoghq.com",
450+
"us3.datadoghq.com",
451+
"us5.datadoghq.com",
452+
"ap1.datadoghq.com",
453+
"ap2.datadoghq.com",
454+
"uk1.datadoghq.com",
455+
"datadoghq.eu",
456+
"ddog-gov.com",
457+
"us2.ddog-gov.com"))));
458+
put(
459+
"subdomain",
460+
new ServerVariable(
461+
"The subdomain where the API is deployed.",
462+
"app",
463+
new HashSet<String>()));
464+
}
465+
}),
466+
new ServerConfiguration(
467+
"{protocol}://{name}",
468+
"No description provided",
469+
new HashMap<String, ServerVariable>() {
470+
{
471+
put(
472+
"name",
473+
new ServerVariable(
474+
"Full site DNS name.",
475+
"app.datadoghq.com",
476+
new HashSet<String>()));
477+
put(
478+
"protocol",
479+
new ServerVariable(
480+
"The protocol for accessing the API.",
481+
"https",
482+
new HashSet<String>()));
483+
}
484+
}),
485+
new ServerConfiguration(
486+
"https://{subdomain}.{site}",
487+
"No description provided",
488+
new HashMap<String, ServerVariable>() {
489+
{
490+
put(
491+
"site",
492+
new ServerVariable(
493+
"Any Datadog deployment.",
494+
"datadoghq.com",
495+
new HashSet<String>()));
496+
put(
497+
"subdomain",
498+
new ServerVariable(
499+
"The subdomain where the API is deployed.",
500+
"app",
501+
new HashSet<String>()));
502+
}
503+
}))));
433504
put(
434505
"v2.OnCallPagingApi.createOnCallPage",
435506
new ArrayList<ServerConfiguration>(
@@ -1312,6 +1383,7 @@ public class ApiClient {
13121383
put("v2.listNetworkHealthInsights", false);
13131384
put("v2.deleteScopesRestriction", false);
13141385
put("v2.getOAuth2WellKnownSites", false);
1386+
put("v2.getOIDCDiscoveryDocument", false);
13151387
put("v2.getScopesRestriction", false);
13161388
put("v2.registerOAuthClient", false);
13171389
put("v2.upsertScopesRestriction", false);

0 commit comments

Comments
 (0)