Skip to content

Commit 061b56d

Browse files
authored
chore: add new JSDoc endpoint check rule (#5677)
* chore: add new JSDoc endpoint check rule * chore: `npm run lint --prefix specification -- --fix` * doc: fix missing ` in validator/README/md * chore: prettier * chore: disable currently failing markdown lint errors in JSDocs
1 parent 22ebbd9 commit 061b56d

File tree

311 files changed

+1047
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+1047
-15
lines changed

specification/_global/bulk/BulkRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { OperationContainer, UpdateAction } from './types'
3131

3232
/**
3333
* Bulk index or delete documents.
34+
*
3435
* Perform multiple `index`, `create`, `delete`, and `update` actions in a single request.
3536
* This reduces overhead and can greatly increase indexing speed.
3637
*
@@ -150,7 +151,6 @@ import { OperationContainer, UpdateAction } from './types'
150151
* @doc_id docs-bulk
151152
* @ext_doc_id indices-refresh-disable
152153
* @doc_tag document
153-
*
154154
*/
155155
export interface Request<TDocument, TPartialDocument> extends RequestBase {
156156
urls: [

specification/_global/clear_scroll/ClearScrollRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { ScrollIds } from '@_types/common'
2222

2323
/**
2424
* Clear a scrolling search.
25+
*
2526
* Clear the search context and results for a scrolling search.
2627
* @rest_spec_name clear_scroll
2728
* @availability stack stability=stable

specification/_global/close_point_in_time/ClosePointInTimeRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Id } from '@_types/common'
2222

2323
/**
2424
* Close a point in time.
25+
*
2526
* A point in time must be opened explicitly before being used in search requests.
2627
* The `keep_alive` parameter tells Elasticsearch how long it should persist.
2728
* A point in time is automatically closed when the `keep_alive` period has elapsed.

specification/_global/count/CountRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import { Operator } from '@_types/query_dsl/Operator'
3030

3131
/**
3232
* Count search results.
33+
*
3334
* Get the number of documents matching a query.
3435
*
3536
* The query can be provided either by using a simple query string as a parameter, or by defining Query DSL within the request body.

specification/_global/delete_script/DeleteScriptRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { Duration } from '@_types/Time'
2323

2424
/**
2525
* Delete a script or search template.
26+
*
2627
* Deletes a stored script or search template.
2728
* @rest_spec_name delete_script
2829
* @availability stack stability=stable

specification/_global/explain/ExplainRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { SourceConfigParam } from '@global/search/_types/SourceFilter'
2525

2626
/**
2727
* Explain a document match result.
28+
*
2829
* Get information about why a specific document matches, or doesn't match, a query.
2930
* It computes a score explanation for a query and a specific document.
3031
* @rest_spec_name explain

specification/_global/get_script/GetScriptRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { Duration } from '@_types/Time'
2323

2424
/**
2525
* Get a script or search template.
26+
*
2627
* Retrieves a stored script or search template.
2728
* @rest_spec_name get_script
2829
* @availability stack stability=stable

specification/_global/health_report/Request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { Duration } from '@_types/Time'
2323

2424
/**
2525
* Get the cluster health.
26+
*
2627
* Get a report with the health status of an Elasticsearch cluster.
2728
* The report contains a list of indicators that compose Elasticsearch functionality.
2829
*

specification/_global/info/RootNodeInfoRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121

2222
/**
2323
* Get cluster info.
24+
*
2425
* Get basic build, version, and cluster information.
2526
* ::: In Serverless, this API is retained for backward compatibility only. Some response fields, such as the version number, should be ignored.
2627
* @rest_spec_name info

specification/_global/ping/PingRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121

2222
/**
2323
* Ping the cluster.
24+
*
2425
* Get information about whether the cluster is running.
2526
* @rest_spec_name ping
2627
* @availability stack stability=stable

0 commit comments

Comments
 (0)