Skip to content

Commit d2cdc7a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add rule for removing type from oneOf models (#1752)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 9344463 commit d2cdc7a

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
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.6",
7-
"regenerated": "2024-08-12 13:34:55.112510",
8-
"spec_repo_commit": "0360f6c8"
7+
"regenerated": "2024-08-12 20:00:03.779901",
8+
"spec_repo_commit": "20d1cfc9"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-12 13:34:55.131608",
13-
"spec_repo_commit": "0360f6c8"
12+
"regenerated": "2024-08-12 20:00:03.798042",
13+
"spec_repo_commit": "20d1cfc9"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13459,7 +13459,6 @@ components:
1345913459
oneOf:
1346013460
- $ref: '#/components/schemas/SyntheticsAPITestStep'
1346113461
- $ref: '#/components/schemas/SyntheticsAPIWaitStep'
13462-
type: object
1346313462
SyntheticsAPITest:
1346413463
description: Object containing details about a Synthetic API test.
1346513464
properties:

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5879,7 +5879,6 @@ components:
58795879
- $ref: '#/components/schemas/CustomDestinationForwardDestinationHttp'
58805880
- $ref: '#/components/schemas/CustomDestinationForwardDestinationSplunk'
58815881
- $ref: '#/components/schemas/CustomDestinationForwardDestinationElasticsearch'
5882-
type: object
58835882
CustomDestinationForwardDestinationElasticsearch:
58845883
description: The Elasticsearch destination.
58855884
properties:
@@ -6000,7 +5999,6 @@ components:
60005999
oneOf:
60016000
- $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthBasic'
60026001
- $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthCustomHeader'
6003-
type: object
60046002
CustomDestinationHttpDestinationAuthBasic:
60056003
description: Basic access authentication.
60066004
properties:
@@ -6140,7 +6138,6 @@ components:
61406138
- $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationHttp'
61416139
- $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationSplunk'
61426140
- $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationElasticsearch'
6143-
type: object
61446141
CustomDestinationResponseForwardDestinationElasticsearch:
61456142
description: The Elasticsearch destination.
61466143
properties:
@@ -6254,7 +6251,6 @@ components:
62546251
oneOf:
62556252
- $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthBasic'
62566253
- $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthCustomHeader'
6257-
type: object
62586254
CustomDestinationResponseHttpDestinationAuthBasic:
62596255
description: Basic access authentication.
62606256
properties:
@@ -11775,6 +11771,7 @@ components:
1177511771
required:
1177611772
- type
1177711773
- integration
11774+
type: object
1177811775
LogsArchiveDestinationAzure:
1177911776
description: The Azure archive destination.
1178011777
properties:
@@ -20592,7 +20589,6 @@ components:
2059220589
- $ref: '#/components/schemas/ServiceDefinitionV2'
2059320590
- $ref: '#/components/schemas/ServiceDefinitionV2Dot1'
2059420591
- $ref: '#/components/schemas/ServiceDefinitionV2Dot2'
20595-
type: object
2059620592
ServiceDefinitionSchemaVersions:
2059720593
description: Schema versions
2059820594
enum:

0 commit comments

Comments
 (0)