You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commit-message: "Updated API components to reflect the latest OpenSearch API spec (${{ env.date }})"
45
+
title: "[AUTOCUT] Update API components to reflect the latest OpenSearch API spec (${{ env.date }})"
46
+
body: |
47
+
Update API components to reflect the latest [OpenSearch API spec](https://github.com/opensearch-project/opensearch-api-specification/releases/download/main-latest/opensearch-openapi.yaml).
Copy file name to clipboardExpand all lines: API_STYLE_GUIDE.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,13 @@ The following sections describe the basic API documentation structure. Each sect
31
31
Depending on where the documentation appears within a section or subsection, heading levels may be adjusted to fit with other content.
32
32
33
33
1. Name of API (heading level 2)
34
-
1.(Optional) Path and HTTP methods (heading level 3)
35
-
1. Path parameters (heading level 3)
36
-
1. Query parameters (heading level 3)
37
-
1. Request fields (heading level 3)
34
+
1.Endpoints (heading level 3)
35
+
1.(Optional) Path parameters (heading level 3)
36
+
1.(Optional) Query parameters (heading level 3)
37
+
1.(Optional) Request fields (heading level 3)
38
38
1. Example request (heading level 4)
39
-
1. Example response (heading level 4)
40
-
1. Response fields (heading level 3)
39
+
1.(Optional) Example response (heading level 4)
40
+
1.(Optional) Response fields (heading level 3)
41
41
42
42
## API name
43
43
@@ -55,7 +55,7 @@ If applicable, provide any caveats to its usage with a note or tip, as in the fo
55
55
"If you use the Security plugin, make sure you have the appropriate permissions."
56
56
(To set this point in note-style format, follow the text on the next line with {: .note})
57
57
58
-
### Path and HTTP methods
58
+
### Endpoints
59
59
60
60
For relatively complex API calls that include path parameters, it's sometimes a good idea to provide an example so that users can visualize how the request is properly formed. This section is optional and includes examples that illustrate how the endpoint and path parameters fit together in the request. The following is an example of this section for the nodes stats API:
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,13 +78,13 @@ Follow these steps to set up your local copy of the repository:
78
78
79
79
1. Navigate to your cloned repository.
80
80
81
-
##### Building using locally installed packages
81
+
##### Building by using locally installed packages
82
82
83
83
1. Install [Ruby](https://www.ruby-lang.org/en/) if you don't already have it. We recommend [RVM](https://rvm.io/), but you can use any method you prefer:
84
84
85
85
```
86
86
curl -sSL https://get.rvm.io | bash -s stable
87
-
rvm install 3.2.4
87
+
rvm install 3.3.2
88
88
ruby -v
89
89
```
90
90
@@ -100,7 +100,7 @@ Follow these steps to set up your local copy of the repository:
100
100
bundle install
101
101
```
102
102
103
-
##### Building using containerization
103
+
##### Building by using containerization
104
104
105
105
Assuming you have `docker-compose` installed, run the following command:
106
106
@@ -158,6 +158,23 @@ To ensure that our documentation adheres to the [OpenSearch Project Style Guidel
158
158
159
159
Optionally, you can install the [Vale VSCode](https://github.com/chrischinchilla/vale-vscode) extension, which integrates Vale with Visual Studio Code. By default, only _errors_ and _warnings_ are underlined. To change the minimum alert level to include _suggestions_, go to **Vale VSCode** > **Extension Settings** and select **suggestion** in the **Vale > Vale CLI: Min Alert Level** dropdown list.
160
160
161
+
## Troubleshooting
162
+
163
+
This section provides information about potential solutions for known issues.
164
+
165
+
### Installing Ruby on an Apple silicon machine
166
+
167
+
If you're having trouble installing Ruby with `rvm` on an Apple silicon machine, it could be because of an OpenSSL version misalignment. To fix this issue, use the following command, replacing `<openssl-version>` with your [desired version](https://github.com/ruby/openssl/blob/master/README.md):
0 commit comments