Skip to content

Commit 2f926b6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 4797abcd of spec repo (#685)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d14a162 commit 2f926b6

File tree

8 files changed

+44
-39
lines changed

8 files changed

+44
-39
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-05-20 17:09:29.066839",
8-
"spec_repo_commit": "37954eaf"
7+
"regenerated": "2022-05-23 07:09:52.673191",
8+
"spec_repo_commit": "4797abcd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-05-20 17:09:29.084343",
13-
"spec_repo_commit": "37954eaf"
12+
"regenerated": "2022-05-23 07:09:52.685872",
13+
"spec_repo_commit": "4797abcd"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -850,11 +850,6 @@ components:
850850
description: ID of the AuthN Mapping.
851851
example: 3653d3c6-0c75-11ea-ad28-fb5701eabc7d
852852
type: string
853-
included:
854-
description: Included data in the AuthN Mapping response.
855-
items:
856-
$ref: '#/components/schemas/AuthNMappingIncluded'
857-
type: array
858853
relationships:
859854
$ref: '#/components/schemas/AuthNMappingRelationships'
860855
type:
@@ -888,10 +883,8 @@ components:
888883
type: string
889884
saml_assertion_attribute_id:
890885
description: The ID of the SAML assertion attribute.
891-
example: 0
892-
format: int32
893-
maximum: 2147483647
894-
type: integer
886+
example: '0'
887+
type: string
895888
type: object
896889
AuthNMappingCreateAttributes:
897890
description: Key/Value pair of attributes used for create request.
@@ -953,6 +946,11 @@ components:
953946
properties:
954947
data:
955948
$ref: '#/components/schemas/AuthNMapping'
949+
included:
950+
description: Included data in the AuthN Mapping response.
951+
items:
952+
$ref: '#/components/schemas/AuthNMappingIncluded'
953+
type: array
956954
type: object
957955
AuthNMappingUpdateAttributes:
958956
description: Key/Value pair of attributes used for update request.
@@ -1007,6 +1005,11 @@ components:
10071005
items:
10081006
$ref: '#/components/schemas/AuthNMapping'
10091007
type: array
1008+
included:
1009+
description: Included data in the AuthN Mapping response.
1010+
items:
1011+
$ref: '#/components/schemas/AuthNMappingIncluded'
1012+
type: array
10101013
meta:
10111014
$ref: '#/components/schemas/ResponseMetaAttributes'
10121015
type: object
@@ -5473,10 +5476,8 @@ components:
54735476
properties:
54745477
id:
54755478
description: The ID of the SAML assertion attribute.
5476-
example: 0
5477-
format: int32
5478-
maximum: 2147483647
5479-
type: integer
5479+
example: '0'
5480+
type: string
54805481
type:
54815482
$ref: '#/components/schemas/SAMLAssertionAttributesType'
54825483
required:
@@ -5778,10 +5779,8 @@ components:
57785779
$ref: '#/components/schemas/SAMLAssertionAttributeAttributes'
57795780
id:
57805781
description: The ID of the SAML assertion attribute.
5781-
example: 0
5782-
format: int32
5783-
maximum: 2147483647
5784-
type: integer
5782+
example: '0'
5783+
type: string
57855784
type:
57865785
$ref: '#/components/schemas/SAMLAssertionAttributesType'
57875786
required:

packages/datadog-api-client-v2/models/AuthNMapping.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { AuthNMappingAttributes } from "./AuthNMappingAttributes";
7-
import { AuthNMappingIncluded } from "./AuthNMappingIncluded";
87
import { AuthNMappingRelationships } from "./AuthNMappingRelationships";
98
import { AuthNMappingsType } from "./AuthNMappingsType";
109

@@ -22,10 +21,6 @@ export class AuthNMapping {
2221
* ID of the AuthN Mapping.
2322
*/
2423
"id": string;
25-
/**
26-
* Included data in the AuthN Mapping response.
27-
*/
28-
"included"?: Array<AuthNMappingIncluded>;
2924
/**
3025
* All relationships associated with AuthN Mapping.
3126
*/
@@ -53,10 +48,6 @@ export class AuthNMapping {
5348
type: "string",
5449
required: true,
5550
},
56-
included: {
57-
baseName: "included",
58-
type: "Array<AuthNMappingIncluded>",
59-
},
6051
relationships: {
6152
baseName: "relationships",
6253
type: "AuthNMappingRelationships",

packages/datadog-api-client-v2/models/AuthNMappingAttributes.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class AuthNMappingAttributes {
2929
/**
3030
* The ID of the SAML assertion attribute.
3131
*/
32-
"samlAssertionAttributeId"?: number;
32+
"samlAssertionAttributeId"?: string;
3333

3434
/**
3535
* @ignore
@@ -60,8 +60,7 @@ export class AuthNMappingAttributes {
6060
},
6161
samlAssertionAttributeId: {
6262
baseName: "saml_assertion_attribute_id",
63-
type: "number",
64-
format: "int32",
63+
type: "string",
6564
},
6665
};
6766

packages/datadog-api-client-v2/models/AuthNMappingResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { AuthNMapping } from "./AuthNMapping";
7+
import { AuthNMappingIncluded } from "./AuthNMappingIncluded";
78

89
import { AttributeTypeMap } from "../util";
910

@@ -15,6 +16,10 @@ export class AuthNMappingResponse {
1516
* The AuthN Mapping object returned by API.
1617
*/
1718
"data"?: AuthNMapping;
19+
/**
20+
* Included data in the AuthN Mapping response.
21+
*/
22+
"included"?: Array<AuthNMappingIncluded>;
1823

1924
/**
2025
* @ignore
@@ -29,6 +34,10 @@ export class AuthNMappingResponse {
2934
baseName: "data",
3035
type: "AuthNMapping",
3136
},
37+
included: {
38+
baseName: "included",
39+
type: "Array<AuthNMappingIncluded>",
40+
},
3241
};
3342

3443
/**

packages/datadog-api-client-v2/models/AuthNMappingsResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { AuthNMapping } from "./AuthNMapping";
7+
import { AuthNMappingIncluded } from "./AuthNMappingIncluded";
78
import { ResponseMetaAttributes } from "./ResponseMetaAttributes";
89

910
import { AttributeTypeMap } from "../util";
@@ -16,6 +17,10 @@ export class AuthNMappingsResponse {
1617
* Array of returned AuthN Mappings.
1718
*/
1819
"data"?: Array<AuthNMapping>;
20+
/**
21+
* Included data in the AuthN Mapping response.
22+
*/
23+
"included"?: Array<AuthNMappingIncluded>;
1924
/**
2025
* Object describing meta attributes of response.
2126
*/
@@ -34,6 +39,10 @@ export class AuthNMappingsResponse {
3439
baseName: "data",
3540
type: "Array<AuthNMapping>",
3641
},
42+
included: {
43+
baseName: "included",
44+
type: "Array<AuthNMappingIncluded>",
45+
},
3746
meta: {
3847
baseName: "meta",
3948
type: "ResponseMetaAttributes",

packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttributeData.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class RelationshipToSAMLAssertionAttributeData {
1414
/**
1515
* The ID of the SAML assertion attribute.
1616
*/
17-
"id": number;
17+
"id": string;
1818
/**
1919
* SAML assertion attributes resource type.
2020
*/
@@ -31,9 +31,8 @@ export class RelationshipToSAMLAssertionAttributeData {
3131
static readonly attributeTypeMap: AttributeTypeMap = {
3232
id: {
3333
baseName: "id",
34-
type: "number",
34+
type: "string",
3535
required: true,
36-
format: "int32",
3736
},
3837
type: {
3938
baseName: "type",

packages/datadog-api-client-v2/models/SAMLAssertionAttribute.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class SAMLAssertionAttribute {
1919
/**
2020
* The ID of the SAML assertion attribute.
2121
*/
22-
"id": number;
22+
"id": string;
2323
/**
2424
* SAML assertion attributes resource type.
2525
*/
@@ -40,9 +40,8 @@ export class SAMLAssertionAttribute {
4040
},
4141
id: {
4242
baseName: "id",
43-
type: "number",
43+
type: "string",
4444
required: true,
45-
format: "int32",
4645
},
4746
type: {
4847
baseName: "type",

0 commit comments

Comments
 (0)