Skip to content

Commit bbe5d70

Browse files
committed
Use correct type for the 'time' query parameter
1 parent dc06dcc commit bbe5d70

File tree

13 files changed

+45
-101
lines changed

13 files changed

+45
-101
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 8 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/cat/ml_data_frame_analytics/CatDataFrameAnalyticsRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import { CatDfaColumns, CatRequestBase } from '@cat/_types/CatBase'
2121
import { Bytes, Id } from '@_types/common'
22-
import { Duration } from '@_types/Time'
22+
import { TimeUnit } from '@_types/Time'
2323

2424
/**
2525
* Get data frame analytics jobs.
@@ -54,6 +54,6 @@ export interface Request extends CatRequestBase {
5454
/**
5555
* Unit used to display time values.
5656
*/
57-
time?: Duration
57+
time?: TimeUnit
5858
}
5959
}

specification/cat/ml_trained_models/CatTrainedModelsRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import { CatRequestBase, CatTrainedModelsColumns } from '@cat/_types/CatBase'
2121
import { Bytes, Id } from '@_types/common'
2222
import { integer } from '@_types/Numeric'
23-
import { Duration } from '@_types/Time'
23+
import { TimeUnit } from '@_types/Time'
2424

2525
/**
2626
* Get trained models.
@@ -64,6 +64,6 @@ export interface Request extends CatRequestBase {
6464
/**
6565
* Unit used to display time values.
6666
*/
67-
time?: Duration
67+
time?: TimeUnit
6868
}
6969
}

0 commit comments

Comments
 (0)