Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecates allow_no_jobs and allow_no_datafeeds #968

Merged
merged 2 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion output/schema/schema.json

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

3 changes: 0 additions & 3 deletions output/schema/validation-errors.json

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

3 changes: 3 additions & 0 deletions output/typescript/types.ts

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

3 changes: 3 additions & 0 deletions specification/cat/ml_datafeeds/CatDatafeedsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export interface Request extends CatRequestBase {
datafeed_id?: Id
}
query_parameters: {
/**
* @deprecated 7.10.0 Use `allow_no_match` instead.
*/
allow_no_datafeeds?: boolean
}
}
3 changes: 3 additions & 0 deletions specification/cat/ml_jobs/CatJobsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export interface Request extends CatRequestBase {
job_id?: Id
}
query_parameters: {
/**
* @deprecated 7.10.0 Use `allow_no_match` instead.
*/
allow_no_jobs?: boolean
bytes?: Bytes
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export interface Request extends RequestBase {
datafeed_id?: Ids
}
query_parameters: {
/**
* @deprecated 7.10.0 Use `allow_no_match` instead.
*/
allow_no_datafeeds?: boolean
/**
* Specifies what to do when the request:
*
Expand Down
4 changes: 4 additions & 0 deletions specification/ml/get_datafeeds/MlGetDatafeedsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ export interface Request extends RequestBase {
datafeed_id?: Ids
}
query_parameters: {
/**
* @deprecated 7.10.0 Use `allow_no_match` instead.
*/
allow_no_datafeeds?: boolean
/**
* Specifies what to do when the request:
*
Expand Down
1 change: 1 addition & 0 deletions specification/ml/get_job_stats/MlGetJobStatsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface Request extends RequestBase {
* matches. If this parameter is `false`, the request returns a `404` status
* code when there are no matches or only partial matches.
* @server_default true
* @deprecated 7.10.0 Use `allow_no_match` instead.
*/
allow_no_jobs?: boolean
}
Expand Down
2 changes: 1 addition & 1 deletion specification/ml/get_jobs/MlGetJobsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface Request extends RequestBase {
*/
allow_no_match?: boolean
/**
* @deprecated 7.10.0
* @deprecated 7.10.0 Use `allow_no_match` instead.
*/
allow_no_jobs?: boolean
/**
Expand Down
4 changes: 4 additions & 0 deletions specification/ml/stop_datafeed/MlStopDatafeedRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export interface Request extends RequestBase {
datafeed_id: Id
}
query_parameters: {
/**
* @deprecated 7.10.0 Use `allow_no_match` instead.
*/
allow_no_datafeeds?: boolean
/** @server_default true */
allow_no_match?: boolean
/** @server_default false */
Expand Down