You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2016/11/28 15:44:04 UTC
lucene-solr:apiv2: SOLR-8029: more spec
Repository: lucene-solr
Updated Branches:
refs/heads/apiv2 5e179a18a -> cc21a767b
SOLR-8029: more spec
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/cc21a767
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/cc21a767
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/cc21a767
Branch: refs/heads/apiv2
Commit: cc21a767b92df6430cd46e2d07253ef50229c61f
Parents: 5e179a1
Author: Noble Paul <no...@apache.org>
Authored: Mon Nov 28 21:13:50 2016 +0530
Committer: Noble Paul <no...@apache.org>
Committed: Mon Nov 28 21:13:50 2016 +0530
----------------------------------------------------------------------
.../core.config.Commands.addRequestHandler.properties.json | 4 +++-
solr/core/src/resources/apispec/core.config.Commands.json | 8 ++------
2 files changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/cc21a767/solr/core/src/resources/apispec/core.config.Commands.addRequestHandler.properties.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.config.Commands.addRequestHandler.properties.json b/solr/core/src/resources/apispec/core.config.Commands.addRequestHandler.properties.json
index 895d255..9994449 100644
--- a/solr/core/src/resources/apispec/core.config.Commands.addRequestHandler.properties.json
+++ b/solr/core/src/resources/apispec/core.config.Commands.addRequestHandler.properties.json
@@ -1,4 +1,5 @@
{
+ "type": "object",
"properties": {
"name": {
"type": "string"
@@ -15,5 +16,6 @@
"lazy"
]
}
- }
+ },
+ "additionalProperties": true
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/cc21a767/solr/core/src/resources/apispec/core.config.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.config.Commands.json b/solr/core/src/resources/apispec/core.config.Commands.json
index 5aa6c70..f4e0687 100644
--- a/solr/core/src/resources/apispec/core.config.Commands.json
+++ b/solr/core/src/resources/apispec/core.config.Commands.json
@@ -21,21 +21,17 @@
}
},
"add-requesthandler": {
- "type": "object",
"#include":"core.config.Commands.addRequestHandler.properties",
"required": [
"name",
"class"
- ],
- "additionalProperties": true
+ ]
},
"update-requesthandler": {
- "type": "object",
"#include":"core.config.Commands.addRequestHandler.properties",
"required": [
"name"
- ],
- "additionalProperties": true
+ ]
},
"delete-requesthandler": {
"type": "array",