From b1d3aec96a6a8ae9f06a6b242a0ad160f800452a Mon Sep 17 00:00:00 2001 From: lcawl Date: Mon, 9 Dec 2024 17:12:00 -0800 Subject: [PATCH] Generate output --- output/openapi/elasticsearch-openapi.json | 9 +++++++-- output/schema/schema.json | 14 ++++++++------ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 90ab9893f6..b7cf9d445f 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -8343,7 +8343,11 @@ "tags": [ "features" ], - "summary": "Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot", + "summary": "Get the features", + "description": "Get a list of features that can be included in snapshots using the `feature_states` field when creating a snapshot.\nYou can use this API to determine which feature states to include when taking a snapshot.\nBy default, all feature states are included in a snapshot if that snapshot includes the global state, or none if it does not.\n\nA feature state includes one or more system indices necessary for a given feature to function.\nIn order to ensure data integrity, all system indices that comprise a feature state are snapshotted and restored together.\n\nThe features listed by this API are a combination of built-in features and features defined by plugins.\nIn order for a feature state to be listed in this API and recognized as a valid feature state by the create snapshot API, the plugin that defines that feature must be installed on the master node.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-take-snapshot.html" + }, "operationId": "features-get-features", "responses": { "200": { @@ -8376,7 +8380,8 @@ "tags": [ "features" ], - "summary": "Resets the internal state of features, usually by deleting system indices", + "summary": "Reset the features", + "description": "Clear all of the state information stored in system indices by Elasticsearch features, including the security and machine learning indices.\n\nWARNING: Intended for development and testing use only. Do not reset features on a production cluster.\n\nReturn a cluster to the same state as a new installation by resetting the feature state for all Elasticsearch features.\nThis deletes all state information stored in system indices.\n\nThe response code is HTTP 200 if the state is successfully reset for all features.\nIt is HTTP 500 if the reset operation failed for any feature.\n\nNote that select features might provide a way to reset particular system indices.\nUsing this API resets all features, both those that are built-in and implemented as plugins.\n\nTo list the features that will be affected, use the get features API.\n\nIMPORTANT: The features installed on the node you submit this request to are the features that will be reset. Run on the master node if you have any doubts about which plugins are installed on individual nodes.", "operationId": "features-reset-features", "responses": { "200": { diff --git a/output/schema/schema.json b/output/schema/schema.json index c9e74c01de..e8e27fe58e 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -4954,8 +4954,10 @@ "stability": "stable" } }, - "description": "Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot", + "description": "Get the features.\nGet a list of features that can be included in snapshots using the `feature_states` field when creating a snapshot.\nYou can use this API to determine which feature states to include when taking a snapshot.\nBy default, all feature states are included in a snapshot if that snapshot includes the global state, or none if it does not.\n\nA feature state includes one or more system indices necessary for a given feature to function.\nIn order to ensure data integrity, all system indices that comprise a feature state are snapshotted and restored together.\n\nThe features listed by this API are a combination of built-in features and features defined by plugins.\nIn order for a feature state to be listed in this API and recognized as a valid feature state by the create snapshot API, the plugin that defines that feature must be installed on the master node.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-features-api.html", + "extDocId": "snapshot-create", + "extDocUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/snapshots-take-snapshot.html", "name": "features.get_features", "request": { "name": "Request", @@ -4989,7 +4991,7 @@ "stability": "experimental" } }, - "description": "Resets the internal state of features, usually by deleting system indices", + "description": "Reset the features.\nClear all of the state information stored in system indices by Elasticsearch features, including the security and machine learning indices.\n\nWARNING: Intended for development and testing use only. Do not reset features on a production cluster.\n\nReturn a cluster to the same state as a new installation by resetting the feature state for all Elasticsearch features.\nThis deletes all state information stored in system indices.\n\nThe response code is HTTP 200 if the state is successfully reset for all features.\nIt is HTTP 500 if the reset operation failed for any feature.\n\nNote that select features might provide a way to reset particular system indices.\nUsing this API resets all features, both those that are built-in and implemented as plugins.\n\nTo list the features that will be affected, use the get features API.\n\nIMPORTANT: The features installed on the node you submit this request to are the features that will be reset. Run on the master node if you have any doubts about which plugins are installed on individual nodes.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "features.reset_features", "request": { @@ -118610,7 +118612,7 @@ "body": { "kind": "no_body" }, - "description": "Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot", + "description": "Get the features.\nGet a list of features that can be included in snapshots using the `feature_states` field when creating a snapshot.\nYou can use this API to determine which feature states to include when taking a snapshot.\nBy default, all feature states are included in a snapshot if that snapshot includes the global state, or none if it does not.\n\nA feature state includes one or more system indices necessary for a given feature to function.\nIn order to ensure data integrity, all system indices that comprise a feature state are snapshotted and restored together.\n\nThe features listed by this API are a combination of built-in features and features defined by plugins.\nIn order for a feature state to be listed in this API and recognized as a valid feature state by the create snapshot API, the plugin that defines that feature must be installed on the master node.", "inherits": { "type": { "name": "RequestBase", @@ -118623,7 +118625,7 @@ }, "path": [], "query": [], - "specLocation": "features/get_features/GetFeaturesRequest.ts#L22-L26" + "specLocation": "features/get_features/GetFeaturesRequest.ts#L22-L37" }, { "kind": "response", @@ -118660,7 +118662,7 @@ "body": { "kind": "no_body" }, - "description": "Resets the internal state of features, usually by deleting system indices", + "description": "Reset the features.\nClear all of the state information stored in system indices by Elasticsearch features, including the security and machine learning indices.\n\nWARNING: Intended for development and testing use only. Do not reset features on a production cluster.\n\nReturn a cluster to the same state as a new installation by resetting the feature state for all Elasticsearch features.\nThis deletes all state information stored in system indices.\n\nThe response code is HTTP 200 if the state is successfully reset for all features.\nIt is HTTP 500 if the reset operation failed for any feature.\n\nNote that select features might provide a way to reset particular system indices.\nUsing this API resets all features, both those that are built-in and implemented as plugins.\n\nTo list the features that will be affected, use the get features API.\n\nIMPORTANT: The features installed on the node you submit this request to are the features that will be reset. Run on the master node if you have any doubts about which plugins are installed on individual nodes.", "inherits": { "type": { "name": "RequestBase", @@ -118673,7 +118675,7 @@ }, "path": [], "query": [], - "specLocation": "features/reset_features/ResetFeaturesRequest.ts#L22-L27" + "specLocation": "features/reset_features/ResetFeaturesRequest.ts#L22-L44" }, { "kind": "response",