Skip to content

Commit

Permalink
Set parameter nodes instead of node_id on task.list (#3113)
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
margaretpearce and pquentin authored Nov 12, 2024
1 parent 36dbbd9 commit d7200dc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 19 deletions.
7 changes: 2 additions & 5 deletions output/openapi/elasticsearch-openapi.json

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

13 changes: 5 additions & 8 deletions output/schema/schema.json

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

4 changes: 1 addition & 3 deletions output/schema/validation-errors.json

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

2 changes: 1 addition & 1 deletion output/typescript/types.ts

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

4 changes: 2 additions & 2 deletions specification/tasks/list/ListTasksRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { GroupBy } from '@tasks/_types/GroupBy'
import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'
import { Id, NodeIds } from '@_types/common'
import { Duration } from '@_types/Time'

/**
Expand Down Expand Up @@ -48,7 +48,7 @@ export interface Request extends RequestBase {
/**
* Comma-separated list of node IDs or names used to limit returned information.
*/
node_id?: string[]
nodes?: NodeIds
/**
* Parent task ID used to limit returned information. To return all tasks, omit this parameter or use a value of `-1`.
*/
Expand Down

0 comments on commit d7200dc

Please sign in to comment.