Skip to content

Commit 84efe38

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit fa737570 of spec repo (#803)
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 7c7b45b commit 84efe38

File tree

5 files changed

+35
-22
lines changed

5 files changed

+35
-22
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-08-23 08:08:07.968687",
8-
"spec_repo_commit": "26daca9c"
7+
"regenerated": "2022-08-23 12:51:18.170061",
8+
"spec_repo_commit": "fa737570"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-08-23 08:08:07.981598",
13-
"spec_repo_commit": "26daca9c"
12+
"regenerated": "2022-08-23 12:51:18.187147",
13+
"spec_repo_commit": "fa737570"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21420,7 +21420,7 @@ paths:
2142021420
tags:
2142121421
- Logs
2142221422
x-codegen-request-body-name: body
21423-
x-menu-order: 1
21423+
x-menu-order: 3
2142421424
x-undo:
2142521425
type: safe
2142621426
/api/v1/logs/config/index-order:

.generator/schemas/v2/openapi.yaml

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,10 +1270,12 @@ components:
12701270
ContentEncoding:
12711271
description: HTTP header used to compress the media-type.
12721272
enum:
1273+
- identity
12731274
- gzip
12741275
- deflate
12751276
type: string
12761277
x-enum-varnames:
1278+
- IDENTITY
12771279
- GZIP
12781280
- DEFLATE
12791281
CostByOrg:
@@ -9950,49 +9952,59 @@ paths:
99509952
description: Pass multiple log objects at once.
99519953
summary: Multi JSON Messages
99529954
value:
9953-
- message: hello
9954-
- message: world
9955+
- ddsource: nginx
9956+
ddtags: env:staging,version:5.1
9957+
hostname: i-012345678
9958+
message: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
9959+
service: payment
9960+
- ddsource: nginx
9961+
ddtags: env:staging,version:5.1
9962+
hostname: i-012345679
9963+
message: 2019-11-19T14:37:58,995 INFO [process.name][20081] World
9964+
service: payment
99559965
simple-json-message:
99569966
description: Log attributes can be passed as `key:value` pairs in
99579967
valid JSON messages.
99589968
summary: Simple JSON Message
99599969
value:
9960-
ddsource: agent
9961-
ddtags: env:prod,user:joe.doe
9962-
hostname: fa1e1e739d95
9963-
message: hello world
9970+
ddsource: nginx
9971+
ddtags: env:staging,version:5.1
9972+
hostname: i-012345678
9973+
message: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
9974+
World
9975+
service: payment
99649976
schema:
99659977
$ref: '#/components/schemas/HTTPLog'
99669978
application/logplex-1:
99679979
examples:
99689980
multi-raw-message:
99699981
description: Submit log messages.
99709982
summary: Multi Logplex Messages
9971-
value: 'hello
9983+
value: '2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
99729984
9973-
world'
9985+
2019-11-19T14:37:58,995 INFO [process.name][20081] World'
99749986
simple-logplex-message:
99759987
description: Submit log string.
99769988
summary: Simple Logplex Message
9977-
value: hello world
9989+
value: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World
99789990
schema:
99799991
type: string
99809992
text/plain:
99819993
examples:
99829994
multi-raw-message:
99839995
description: Submit log string.
99849996
summary: Multi Raw Messages
9985-
value: 'hello
9997+
value: '2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
99869998
9987-
world
9999+
2019-11-19T14:37:58,995 INFO [process.name][20081] World
998810000
998910001
'
999010002
simple-raw-message:
999110003
description: 'Submit log string. Log attributes can be passed as query
999210004
parameters in the URL. This enables the addition of tags or the
999310005
source by using the `ddtags` and `ddsource` parameters: `?host=my-hostname&service=my-service&ddsource=my-source&ddtags=env:prod,user:my-user`.'
999410006
summary: Simple Raw Message
9995-
value: hello world
10007+
value: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World
999610008
schema:
999710009
type: string
999810010
description: Log to send (JSON format).
@@ -10120,7 +10132,7 @@ paths:
1012010132
tags:
1012110133
- Logs
1012210134
x-codegen-request-body-name: body
10123-
x-menu-order: 1
10135+
x-menu-order: 2
1012410136
x-undo:
1012510137
type: safe
1012610138
/api/v2/logs/config/archive-order:
@@ -10785,7 +10797,7 @@ paths:
1078510797
summary: Get a list of logs
1078610798
tags:
1078710799
- Logs
10788-
x-menu-order: 3
10800+
x-menu-order: 4
1078910801
x-pagination:
1079010802
cursorParam: page[cursor]
1079110803
cursorPath: meta.page.after
@@ -10837,7 +10849,7 @@ paths:
1083710849
tags:
1083810850
- Logs
1083910851
x-codegen-request-body-name: body
10840-
x-menu-order: 2
10852+
x-menu-order: 3
1084110853
x-pagination:
1084210854
cursorParam: body.page.cursor
1084310855
cursorPath: meta.page.after

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66

7-
export type ContentEncoding = typeof GZIP | typeof DEFLATE;
7+
export type ContentEncoding = typeof IDENTITY | typeof GZIP | typeof DEFLATE;
8+
export const IDENTITY = "identity";
89
export const GZIP = "gzip";
910
export const DEFLATE = "deflate";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ const enumsMap: { [key: string]: any[] } = {
466466
],
467467
AuthNMappingsType: ["authn_mappings"],
468468
CloudWorkloadSecurityAgentRuleType: ["agent_rule"],
469-
ContentEncoding: ["gzip", "deflate"],
469+
ContentEncoding: ["identity", "gzip", "deflate"],
470470
CostByOrgType: ["cost_by_org"],
471471
DashboardType: [
472472
"custom_timeboard",

0 commit comments

Comments
 (0)