Skip to content

Commit 3d9dc30

Browse files
committed
Update the REST API specification for handler plugin example
1 parent 55c287c commit 3d9dc30

File tree

1 file changed

+10
-4
lines changed
  • plugins/examples/rest-handler/src/test/resources/rest-api-spec/api

1 file changed

+10
-4
lines changed

plugins/examples/rest-handler/src/test/resources/rest-api-spec/api/cat.example.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
{
22
"cat.example": {
3-
"documentation": "",
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-authors.html",
5+
"description": "Example"
6+
},
47
"stability" : "stable",
5-
"methods": ["GET"],
68
"url": {
7-
"paths": ["/_cat/example"],
8-
"parts": {},
9+
"paths": [
10+
{
11+
"path" : "/_cat/example",
12+
"methods" : ["GET"]
13+
}
14+
],
915
"params": {
1016
"help": {
1117
"type": "boolean",

0 commit comments

Comments
 (0)