Skip to content

Commit

Permalink
Use correct type for the 'time' query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed Dec 12, 2024
1 parent dc06dcc commit bbe5d70
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 101 deletions.
72 changes: 8 additions & 64 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { CatDfaColumns, CatRequestBase } from '@cat/_types/CatBase'
import { Bytes, Id } from '@_types/common'
import { Duration } from '@_types/Time'
import { TimeUnit } from '@_types/Time'

/**
* Get data frame analytics jobs.
Expand Down Expand Up @@ -54,6 +54,6 @@ export interface Request extends CatRequestBase {
/**
* Unit used to display time values.
*/
time?: Duration
time?: TimeUnit
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { CatRequestBase, CatTrainedModelsColumns } from '@cat/_types/CatBase'
import { Bytes, Id } from '@_types/common'
import { integer } from '@_types/Numeric'
import { Duration } from '@_types/Time'
import { TimeUnit } from '@_types/Time'

/**
* Get trained models.
Expand Down Expand Up @@ -64,6 +64,6 @@ export interface Request extends CatRequestBase {
/**
* Unit used to display time values.
*/
time?: Duration
time?: TimeUnit
}
}
Loading

0 comments on commit bbe5d70

Please sign in to comment.